Nearest named color · #9A4E92
#9A4E92
Nearest named color: Grape Candy
#9A4E92 (rgb(154 78 146), hsl(306 33% 45%), oklch(0.541 0.134 331.3)) is closest to the named color Grape Candy. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#9A4E92
oklch(0.541 0.134 331.3)
Color conversions
- HEX
- #9a4e92
- RGB
- rgb(154 78 146)
- HSL
- hsl(306 33% 45%)
- HWB
- hwb(306 31% 40%)
- OKLCH
- oklch(0.541 0.134 331.3)
- OKLab
- oklab(0.541 0.118 -0.064)
- CIE Lab
- lab(44.79 39.44 -23.35)
- LCH
- lch(44.79 45.84 329.4)
- CMYK
- cmyk(0% 49% 5% 40%)
Tints · Shades · Tones
Tints
- A5609D
- AF71A8
- BA82B2
- C494BD
- CEA5C8
- D8B7D3
- E2C9DE
- ECDBE9
- F5EDF4
Shades
- 85437E
- 71386B
- 5E2D58
- 4B2346
- 391935
- 270F25
- 170716
- 090208
- 010001
Tones
- 985490
- 965A8F
- 945F8D
- 91648B
- 8F698A
- 8C6E88
- 8A7386
- 877784
- 837C82
Color harmonies
Complementary +180°
- 9A4E92
Grape Candy
- 1B8444
≈ Warpstone Glow
Analogous -30° +30°
- 9A4E92
Grape Candy
- 7D59AF
≈ Simply Purple
- AB486A
≈ Fuchsia Flock
Triadic +120° +240°
- 9A4E92
Grape Candy
- 876C00
≈ Muddy Brown
- 007D8E
≈ Metallic Seaweed
Split-complementary +150° +210°
- 9A4E92
Grape Candy
- 647A00
≈ Topiary Green
- 008172
≈ Green Garlands
Tetradic +90° +180° +270°
- 9A4E92
Grape Candy
- A25B00
≈ Raw Umber
- 1B8444
≈ Warpstone Glow
- 0076B1
≈ Brilliant Blue
Contrast & accessibility
Ag
AAOn white
WCAG 5.41:1 · APCA Lc 77
Ag
FailOn black
WCAG 3.87:1 · APCA Lc 25
Best text color: #FFFFFF
WCAG 5.41:1 (AA) · APCA Lc 77
Contrast pairs
Code snippets
CSS
:root {
--grape-candy: #9a4e92;
--grape-candy-rgb: 154 78 146;
--grape-candy-oklch: oklch(0.541 0.134 331.3);
}
.element {
color: var(--grape-candy);
background-color: hsl(306 33% 45%);
border-color: oklch(0.541 0.134 331.3);
}Tailwind CSS v4
@theme {
--color-grape-candy: #9a4e92;
--color-grape-candy-50: #ffe8ff;
--color-grape-candy-100: #ffd8fb;
--color-grape-candy-200: #f8bfed;
--color-grape-candy-300: #e19dd5;
--color-grape-candy-400: #cc80c2;
--color-grape-candy-500: #b761ae;
--color-grape-candy-600: #9b5393;
--color-grape-candy-700: #7c4276;
--color-grape-candy-800: #5b3059;
--color-grape-candy-900: #40203e;
--color-grape-candy-950: #290f27;
}SCSS
$grape-candy: #9a4e92;
$grape-candy-rgb: 154, 78, 146;
$grape-candy-light: mix(#fff, $grape-candy, 20%);
$grape-candy-dark: mix(#000, $grape-candy, 20%);
.element {
color: $grape-candy;
box-shadow: 0 0 0 2px rgba($grape-candy, 0.35);
}