#9F4CDC#9F4CDC
#9F4CDC is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.214 H 307.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4CDC |
|---|---|
| RGB | rgb(159, 76, 220) |
| HSL | hsl(275, 67%, 58%) |
| HSV | hsv(275, 65%, 86%) |
| CMYK | cmyk(27.7%, 65.5%, 0%, 13.7%) |
| CIE-LAB | lab(49.14, 58.89, -59.93) |
| CIE-LCH | lch(49.14, 84.02, 314.50°) |
| OKLab | oklab(58.73% 0.1303 -0.1696) |
| OKLCH | oklch(58.73% 0.214 307.5) |
| XYZ | xyz(29.7981, 17.7075, 69.5444) |
| Luminance | 0.1771 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.47
Purpley
#8756E4
ΔE00 4.98
Lighter Purple
#A55AF4
ΔE00 5.19
Electric Purple
#AA23FF
ΔE00 5.80
Darkorchid
#9932CC
ΔE00 5.96
Amethyst
#9B5FC0
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4CDC #89DC4C
analogous
#574CDC #9F4CDC #DC4CD1
triadic
#9F4CDC #DC9F4C #4CDC9F
tetradic
#9F4CDC #DC574C #89DC4C #4CD1DC
square
#9F4CDC #DC574C #89DC4C #4CD1DC
split-complementary
#9F4CDC #D1DC4C #4CDC57
monochromatic
#601C91 #8126C4 #9F4CDC #BA7FE6 #D6B2F0
Accessibility & contrast
On white
4.62
#9F4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#9F4CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4CDC
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4CDC | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2D76D9
Tritanopia (blue-blind)
#956B8E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9f4cdc; /* rgb */ color: rgb(159, 76, 220); /* oklch */ color: oklch(58.7% 0.214 307.5);
Tailwind
colors: {
custom: {
50: '#c083e8',
500: '#9f4cdc',
950: '#000000',
},
}SCSS
$custom: #9f4cdc; $custom-light: #c083e8; $custom-dark: #000000;
JSON
{
"hex": "#9f4cdc",
"rgb": {
"r": 159,
"g": 76,
"b": 220
},
"hsl": {
"h": 274.583,
"s": 67.29,
"l": 58.039
},
"oklch": {
"l": 0.58727,
"c": 0.2139,
"h": 307.5
},
"luminance": 0.17707
}Semantic roles & 50–950 ramp
primary
#9F4CDC
secondary
#BEDFA5
accent
#EA3E87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84