#9F4FE6#9F4FE6
#9F4FE6 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.8% C 0.220 H 304.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FE6 |
|---|---|
| RGB | rgb(159, 79, 230) |
| HSL | hsl(272, 75%, 61%) |
| HSV | hsv(272, 66%, 90%) |
| CMYK | cmyk(30.9%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(50.31, 59.75, -63.71) |
| CIE-LCH | lch(50.31, 87.34, 313.16°) |
| OKLab | oklab(59.77% 0.1261 -0.1807) |
| OKLCH | oklch(59.77% 0.22 304.9) |
| XYZ | xyz(31.3738, 18.6762, 76.7996) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.45
Lighter Purple
#A55AF4
ΔE00 3.66
Purpley
#8756E4
ΔE00 4.34
Electric Purple
#AA23FF
ΔE00 5.62
Neon Purple
#BC13FE
ΔE00 6.31
Bright Violet
#AD0AFD
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FE6 #96E64F
analogous
#534FE6 #9F4FE6 #E64FE1
triadic
#9F4FE6 #E69F4F #4FE69F
tetradic
#9F4FE6 #E6534F #96E64F #4FE1E6
square
#9F4FE6 #E6534F #96E64F #4FE1E6
split-complementary
#9F4FE6 #E1E64F #4FE653
monochromatic
#6117A3 #811FD9 #9F4FE6 #BC85EE #D9BAF5
Accessibility & contrast
On white
4.43
#9F4FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#9F4FE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F4FE6
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F4FE6 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#2078E3
Tritanopia (blue-blind)
#927094
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9f4fe6; /* rgb */ color: rgb(159, 79, 230); /* oklch */ color: oklch(59.8% 0.220 304.9);
Tailwind
colors: {
custom: {
50: '#c085ef',
500: '#9f4fe6',
950: '#000000',
},
}SCSS
$custom: #9f4fe6; $custom-light: #c085ef; $custom-dark: #000000;
JSON
{
"hex": "#9f4fe6",
"rgb": {
"r": 159,
"g": 79,
"b": 230
},
"hsl": {
"h": 271.788,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.59774,
"c": 0.22041,
"h": 304.9
},
"luminance": 0.18676
}Semantic roles & 50–950 ramp
primary
#9F4FE6
secondary
#C7E5AC
accent
#D70E6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84