#9F4FD9#9F4FD9
#9F4FD9 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.207 H 307.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FD9 |
|---|---|
| RGB | rgb(159, 79, 217) |
| HSL | hsl(275, 64%, 58%) |
| HSV | hsv(275, 64%, 85%) |
| CMYK | cmyk(26.7%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(49.46, 56.80, -57.70) |
| CIE-LCH | lch(49.46, 80.97, 314.55°) |
| OKLab | oklab(58.9% 0.1272 -0.1631) |
| OKLCH | oklch(58.9% 0.207 307.9) |
| XYZ | xyz(29.6159, 17.9731, 67.5412) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.36
Lighter Purple
#A55AF4
ΔE00 5.09
Purpley
#8756E4
ΔE00 5.09
Amethyst
#9B5FC0
ΔE00 5.48
Mediumorchid
#BA55D3
ΔE00 6.17
Darkorchid
#9932CC
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FD9 #89D94F
analogous
#5A4FD9 #9F4FD9 #D94FCE
triadic
#9F4FD9 #D99F4F #4FD99F
tetradic
#9F4FD9 #D95A4F #89D94F #4FCED9
square
#9F4FD9 #D95A4F #89D94F #4FCED9
split-complementary
#9F4FD9 #CED94F #4FD95A
monochromatic
#601F8F #812AC1 #9F4FD9 #BA81E4 #D6B4EF
Accessibility & contrast
On white
4.57
#9F4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#9F4FD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F4FD9
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F4FD9 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#3676D6
Tritanopia (blue-blind)
#966B8D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9f4fd9; /* rgb */ color: rgb(159, 79, 217); /* oklch */ color: oklch(58.9% 0.207 307.9);
Tailwind
colors: {
custom: {
50: '#bf85e5',
500: '#9f4fd9',
950: '#000000',
},
}SCSS
$custom: #9f4fd9; $custom-light: #bf85e5; $custom-dark: #000000;
JSON
{
"hex": "#9f4fd9",
"rgb": {
"r": 159,
"g": 79,
"b": 217
},
"hsl": {
"h": 274.783,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.58899,
"c": 0.20681,
"h": 307.9
},
"luminance": 0.17973
}Semantic roles & 50–950 ramp
primary
#9F4FD9
secondary
#BEDDA6
accent
#E74087
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84