#9C4FD2#9C4FD2
#9C4FD2 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.1% C 0.199 H 308.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4FD2 |
|---|---|
| RGB | rgb(156, 79, 210) |
| HSL | hsl(275, 59%, 57%) |
| HSV | hsv(275, 62%, 82%) |
| CMYK | cmyk(25.7%, 62.4%, 0%, 17.6%) |
| CIE-LAB | lab(48.65, 54.56, -55.03) |
| CIE-LCH | lch(48.65, 77.49, 314.75°) |
| OKLab | oklab(58.09% 0.1237 -0.1553) |
| OKLCH | oklch(58.09% 0.199 308.5) |
| XYZ | xyz(28.1368, 17.3135, 62.8199) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.46
Amethyst
#9B5FC0
ΔE00 4.99
Purpley
#8756E4
ΔE00 5.33
Darkorchid
#9932CC
ΔE00 5.81
Deep Lavender
#8D5EB7
ΔE00 5.94
Lighter Purple
#A55AF4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4FD2 #85D24F
analogous
#5B4FD2 #9C4FD2 #D24FC7
triadic
#9C4FD2 #D29C4F #4FD29C
tetradic
#9C4FD2 #D25B4F #85D24F #4FC7D2
square
#9C4FD2 #D25B4F #85D24F #4FC7D2
split-complementary
#9C4FD2 #C7D24F #4FD25B
monochromatic
#5C2285 #7E2EB5 #9C4FD2 #B780DE #D3B0EB
Accessibility & contrast
On white
4.71
#9C4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#9C4FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4FD2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4FD2 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0370D6
Deuteranopia (green-blind)
#3A74CF
Tritanopia (blue-blind)
#946989
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9c4fd2; /* rgb */ color: rgb(156, 79, 210); /* oklch */ color: oklch(58.1% 0.199 308.5);
Tailwind
colors: {
custom: {
50: '#bd85e0',
500: '#9c4fd2',
950: '#000000',
},
}SCSS
$custom: #9c4fd2; $custom-light: #bd85e0; $custom-dark: #000000;
JSON
{
"hex": "#9c4fd2",
"rgb": {
"r": 156,
"g": 79,
"b": 210
},
"hsl": {
"h": 275.267,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.58092,
"c": 0.19855,
"h": 308.5
},
"luminance": 0.17313
}Semantic roles & 50–950 ramp
primary
#9C4FD2
secondary
#BAD9A4
accent
#E24586
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83