#9A4CD1#9A4CD1
#9A4CD1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.201 H 308.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4CD1 |
|---|---|
| RGB | rgb(154, 76, 209) |
| HSL | hsl(275, 59%, 56%) |
| HSV | hsv(275, 64%, 82%) |
| CMYK | cmyk(26.3%, 63.6%, 0%, 18%) |
| CIE-LAB | lab(47.81, 55.34, -55.83) |
| CIE-LCH | lch(47.81, 78.61, 314.75°) |
| OKLab | oklab(57.41% 0.1246 -0.1577) |
| OKLCH | oklch(57.41% 0.201 308.3) |
| XYZ | xyz(27.4172, 16.6428, 62.0773) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.09
Darkorchid
#9932CC
ΔE00 5.00
Purpley
#8756E4
ΔE00 5.35
Amethyst
#9B5FC0
ΔE00 5.59
Purply
#983FB2
ΔE00 5.93
Deep Lavender
#8D5EB7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4CD1 #83D14C
analogous
#574CD1 #9A4CD1 #D14CC5
triadic
#9A4CD1 #D19A4C #4CD19A
tetradic
#9A4CD1 #D1574C #83D14C #4CC5D1
square
#9A4CD1 #D1574C #83D14C #4CC5D1
split-complementary
#9A4CD1 #C5D14C #4CD157
monochromatic
#5A2181 #7B2EB2 #9A4CD1 #B57DDE #D1ADEA
Accessibility & contrast
On white
4.85
#9A4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#9A4CD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4CD1
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4CD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4CD1 | 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)
#006ED5
Deuteranopia (green-blind)
#3572CE
Tritanopia (blue-blind)
#926788
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9a4cd1; /* rgb */ color: rgb(154, 76, 209); /* oklch */ color: oklch(57.4% 0.201 308.3);
Tailwind
colors: {
custom: {
50: '#bc83e0',
500: '#9a4cd1',
950: '#000000',
},
}SCSS
$custom: #9a4cd1; $custom-light: #bc83e0; $custom-dark: #000000;
JSON
{
"hex": "#9a4cd1",
"rgb": {
"r": 154,
"g": 76,
"b": 209
},
"hsl": {
"h": 275.188,
"s": 59.111,
"l": 55.882
},
"oklch": {
"l": 0.57406,
"c": 0.20103,
"h": 308.3
},
"luminance": 0.16642
}Semantic roles & 50–950 ramp
primary
#9A4CD1
secondary
#B8D8A1
accent
#E24686
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83