#9C4FDC#9C4FDC
#9C4FDC is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.209 H 306.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9C4FDC |
|---|---|
| RGB | rgb(156, 79, 220) |
| HSL | hsl(273, 67%, 59%) |
| HSV | hsv(273, 64%, 86%) |
| CMYK | cmyk(29.1%, 64.1%, 0%, 13.7%) |
| CIE-LAB | lab(49.29, 56.83, -59.71) |
| CIE-LCH | lch(49.29, 82.43, 313.58°) |
| OKLab | oklab(58.75% 0.1231 -0.1691) |
| OKLCH | oklch(58.75% 0.209 306.1) |
| XYZ | xyz(29.4218, 17.8275, 69.5873) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.38
Purpley
#8756E4
ΔE00 4.36
Lighter Purple
#A55AF4
ΔE00 4.91
Amethyst
#9B5FC0
ΔE00 5.95
Electric Purple
#AA23FF
ΔE00 6.21
Darkorchid
#9932CC
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C4FDC #8FDC4F
analogous
#554FDC #9C4FDC #DC4FD5
triadic
#9C4FDC #DC9C4F #4FDC9C
tetradic
#9C4FDC #DC554F #8FDC4F #4FD5DC
square
#9C4FDC #DC554F #8FDC4F #4FD5DC
split-complementary
#9C4FDC #D5DC4F #4FDC55
monochromatic
#5E1D93 #7E27C6 #9C4FDC #B982E6 #D5B5F0
Accessibility & contrast
On white
4.60
#9C4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#9C4FDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9C4FDC
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C4FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C4FDC | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2D76D9
Tritanopia (blue-blind)
#916D8F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9c4fdc; /* rgb */ color: rgb(156, 79, 220); /* oklch */ color: oklch(58.8% 0.209 306.1);
Tailwind
colors: {
custom: {
50: '#be85e8',
500: '#9c4fdc',
950: '#000000',
},
}SCSS
$custom: #9c4fdc; $custom-light: #be85e8; $custom-dark: #000000;
JSON
{
"hex": "#9c4fdc",
"rgb": {
"r": 156,
"g": 79,
"b": 220
},
"hsl": {
"h": 272.766,
"s": 66.825,
"l": 58.627
},
"oklch": {
"l": 0.58752,
"c": 0.20916,
"h": 306.1
},
"luminance": 0.17827
}Semantic roles & 50–950 ramp
primary
#9C4FDC
secondary
#C1DFA8
accent
#EA3E8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84