#9D4FD2#9D4FD2
#9D4FD2 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.2% C 0.199 H 308.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9D4FD2 |
|---|---|
| RGB | rgb(157, 79, 210) |
| HSL | hsl(276, 59%, 57%) |
| HSV | hsv(276, 62%, 82%) |
| CMYK | cmyk(25.2%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(48.78, 54.79, -54.82) |
| CIE-LCH | lch(48.78, 77.51, 314.98°) |
| OKLab | oklab(58.21% 0.1249 -0.1547) |
| OKLCH | oklch(58.21% 0.199 308.9) |
| XYZ | xyz(28.3312, 17.4137, 62.8290) |
| Luminance | 0.1741 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.39
Amethyst
#9B5FC0
ΔE00 4.92
Purpley
#8756E4
ΔE00 5.48
Darkorchid
#9932CC
ΔE00 5.88
Deep Lavender
#8D5EB7
ΔE00 5.98
Lighter Purple
#A55AF4
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D4FD2 #84D24F
analogous
#5C4FD2 #9D4FD2 #D24FC6
triadic
#9D4FD2 #D29D4F #4FD29D
tetradic
#9D4FD2 #D25C4F #84D24F #4FC6D2
square
#9D4FD2 #D25C4F #84D24F #4FC6D2
split-complementary
#9D4FD2 #C6D24F #4FD25C
monochromatic
#5D2285 #7F2EB5 #9D4FD2 #B880DE #D3B0EB
Accessibility & contrast
On white
4.68
#9D4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#9D4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D4FD2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D4FD2 | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0571D6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#956989
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9d4fd2; /* rgb */ color: rgb(157, 79, 210); /* oklch */ color: oklch(58.2% 0.199 308.9);
Tailwind
colors: {
custom: {
50: '#be85e0',
500: '#9d4fd2',
950: '#000000',
},
}SCSS
$custom: #9d4fd2; $custom-light: #be85e0; $custom-dark: #000000;
JSON
{
"hex": "#9d4fd2",
"rgb": {
"r": 157,
"g": 79,
"b": 210
},
"hsl": {
"h": 275.725,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.58209,
"c": 0.19885,
"h": 308.9
},
"luminance": 0.17413
}Semantic roles & 50–950 ramp
primary
#9D4FD2
secondary
#B9D9A4
accent
#E24585
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83