#9F4FE4#9F4FE4
#9F4FE4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.218 H 305.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FE4 |
|---|---|
| RGB | rgb(159, 79, 228) |
| HSL | hsl(272, 73%, 60%) |
| HSV | hsv(272, 65%, 89%) |
| CMYK | cmyk(30.3%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(50.17, 59.29, -62.79) |
| CIE-LCH | lch(50.17, 86.36, 313.36°) |
| OKLab | oklab(59.64% 0.1263 -0.1781) |
| OKLCH | oklch(59.64% 0.218 305.4) |
| XYZ | xyz(31.0946, 18.5645, 75.3289) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.47
Lighter Purple
#A55AF4
ΔE00 3.85
Purpley
#8756E4
ΔE00 4.40
Electric Purple
#AA23FF
ΔE00 5.71
Neon Purple
#BC13FE
ΔE00 6.38
Amethyst
#9B5FC0
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FE4 #94E44F
analogous
#554FE4 #9F4FE4 #E44FDE
triadic
#9F4FE4 #E49F4F #4FE49F
tetradic
#9F4FE4 #E4554F #94E44F #4FDEE4
square
#9F4FE4 #E4554F #94E44F #4FDEE4
split-complementary
#9F4FE4 #DEE44F #4FE455
monochromatic
#6119A0 #8221D5 #9F4FE4 #BC84EC #D9B9F4
Accessibility & contrast
On white
4.46
#9F4FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#9F4FE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F4FE4
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F4FE4 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#2478E1
Tritanopia (blue-blind)
#936F93
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9f4fe4; /* rgb */ color: rgb(159, 79, 228); /* oklch */ color: oklch(59.6% 0.218 305.4);
Tailwind
colors: {
custom: {
50: '#c085ed',
500: '#9f4fe4',
950: '#000000',
},
}SCSS
$custom: #9f4fe4; $custom-light: #c085ed; $custom-dark: #000000;
JSON
{
"hex": "#9f4fe4",
"rgb": {
"r": 159,
"g": 79,
"b": 228
},
"hsl": {
"h": 272.215,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.59637,
"c": 0.21832,
"h": 305.4
},
"luminance": 0.18564
}Semantic roles & 50–950 ramp
primary
#9F4FE4
secondary
#C5E4AB
accent
#D6106B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84