#9A4DCE#9A4DCE
#9A4DCE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.197 H 309.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4DCE |
|---|---|
| RGB | rgb(154, 77, 206) |
| HSL | hsl(276, 57%, 55%) |
| HSV | hsv(276, 63%, 81%) |
| CMYK | cmyk(25.2%, 62.6%, 0%, 19.2%) |
| CIE-LAB | lab(47.80, 54.18, -54.12) |
| CIE-LCH | lch(47.80, 76.58, 315.03°) |
| OKLab | oklab(57.34% 0.1236 -0.1527) |
| OKLCH | oklch(57.34% 0.197 309) |
| XYZ | xyz(27.1187, 16.6345, 60.1627) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.33
Darkorchid
#9932CC
ΔE00 5.12
Amethyst
#9B5FC0
ΔE00 5.19
Purply
#983FB2
ΔE00 5.64
Purpley
#8756E4
ΔE00 5.65
Deep Lavender
#8D5EB7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4DCE #81CE4D
analogous
#594DCE #9A4DCE #CE4DC1
triadic
#9A4DCE #CE9A4D #4DCE9A
tetradic
#9A4DCE #CE594D #81CE4D #4DC1CE
square
#9A4DCE #CE594D #81CE4D #4DC1CE
split-complementary
#9A4DCE #C1CE4D #4DCE59
monochromatic
#59237E #7B30AE #9A4DCE #B57DDB #D0ADE8
Accessibility & contrast
On white
4.85
#9A4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#9A4DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4DCE
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4DCE | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036ED2
Deuteranopia (green-blind)
#3A72CB
Tritanopia (blue-blind)
#936787
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9a4dce; /* rgb */ color: rgb(154, 77, 206); /* oklch */ color: oklch(57.3% 0.197 309.0);
Tailwind
colors: {
custom: {
50: '#bb83de',
500: '#9a4dce',
950: '#000000',
},
}SCSS
$custom: #9a4dce; $custom-light: #bb83de; $custom-dark: #000000;
JSON
{
"hex": "#9a4dce",
"rgb": {
"r": 154,
"g": 77,
"b": 206
},
"hsl": {
"h": 275.814,
"s": 56.828,
"l": 55.49
},
"oklch": {
"l": 0.57338,
"c": 0.1965,
"h": 309
},
"luminance": 0.16634
}Semantic roles & 50–950 ramp
primary
#9A4DCE
secondary
#B6D6A1
accent
#E04885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83