#9A4CD2#9A4CD2
#9A4CD2 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.202 H 308.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4CD2 |
|---|---|
| RGB | rgb(154, 76, 210) |
| HSL | hsl(275, 60%, 56%) |
| HSV | hsv(275, 64%, 82%) |
| CMYK | cmyk(26.7%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(47.87, 55.56, -56.30) |
| CIE-LCH | lch(47.87, 79.10, 314.62°) |
| OKLab | oklab(57.47% 0.1246 -0.1591) |
| OKLCH | oklch(57.47% 0.202 308.1) |
| XYZ | xyz(27.5413, 16.6924, 62.7314) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.98
Darkorchid
#9932CC
ΔE00 5.04
Purpley
#8756E4
ΔE00 5.24
Amethyst
#9B5FC0
ΔE00 5.66
Purply
#983FB2
ΔE00 6.07
Deep Lavender
#8D5EB7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4CD2 #84D24C
analogous
#574CD2 #9A4CD2 #D24CC7
triadic
#9A4CD2 #D29A4C #4CD29A
tetradic
#9A4CD2 #D2574C #84D24C #4CC7D2
square
#9A4CD2 #D2574C #84D24C #4CC7D2
split-complementary
#9A4CD2 #C7D24C #4CD257
monochromatic
#5A2183 #7B2DB4 #9A4CD2 #B67DDE #D1AEEB
Accessibility & contrast
On white
4.84
#9A4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9A4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4CD2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4CD2 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3472CF
Tritanopia (blue-blind)
#916888
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9a4cd2; /* rgb */ color: rgb(154, 76, 210); /* oklch */ color: oklch(57.5% 0.202 308.1);
Tailwind
colors: {
custom: {
50: '#bc83e0',
500: '#9a4cd2',
950: '#000000',
},
}SCSS
$custom: #9a4cd2; $custom-light: #bc83e0; $custom-dark: #000000;
JSON
{
"hex": "#9a4cd2",
"rgb": {
"r": 154,
"g": 76,
"b": 210
},
"hsl": {
"h": 274.925,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.57472,
"c": 0.2021,
"h": 308.1
},
"luminance": 0.16692
}Semantic roles & 50–950 ramp
primary
#9A4CD2
secondary
#B8D9A1
accent
#E34587
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83