#9F4FD4#9F4FD4
#9F4FD4 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.202 H 309.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FD4 |
|---|---|
| RGB | rgb(159, 79, 212) |
| HSL | hsl(276, 61%, 57%) |
| HSV | hsv(276, 63%, 83%) |
| CMYK | cmyk(25%, 62.7%, 0%, 16.9%) |
| CIE-LAB | lab(49.15, 55.69, -55.35) |
| CIE-LCH | lch(49.15, 78.52, 315.17°) |
| OKLab | oklab(58.57% 0.1274 -0.1562) |
| OKLCH | oklch(58.57% 0.202 309.2) |
| XYZ | xyz(28.9754, 17.7169, 64.1679) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.00
Amethyst
#9B5FC0
ΔE00 5.00
Purpley
#8756E4
ΔE00 5.57
Lighter Purple
#A55AF4
ΔE00 5.73
Mediumorchid
#BA55D3
ΔE00 5.99
Darkorchid
#9932CC
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FD4 #84D44F
analogous
#5C4FD4 #9F4FD4 #D44FC7
triadic
#9F4FD4 #D49F4F #4FD49F
tetradic
#9F4FD4 #D45C4F #84D44F #4FC7D4
square
#9F4FD4 #D45C4F #84D44F #4FC7D4
split-complementary
#9F4FD4 #C7D44F #4FD45C
monochromatic
#5F2187 #812DB9 #9F4FD4 #BA80E0 #D5B1EC
Accessibility & contrast
On white
4.62
#9F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#9F4FD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4FD4
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4FD4 | 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)
#0171D8
Deuteranopia (green-blind)
#3C76D1
Tritanopia (blue-blind)
#976A8A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9f4fd4; /* rgb */ color: rgb(159, 79, 212); /* oklch */ color: oklch(58.6% 0.202 309.2);
Tailwind
colors: {
custom: {
50: '#bf85e2',
500: '#9f4fd4',
950: '#000000',
},
}SCSS
$custom: #9f4fd4; $custom-light: #bf85e2; $custom-dark: #000000;
JSON
{
"hex": "#9f4fd4",
"rgb": {
"r": 159,
"g": 79,
"b": 212
},
"hsl": {
"h": 276.09,
"s": 60.731,
"l": 57.059
},
"oklch": {
"l": 0.58573,
"c": 0.20156,
"h": 309.2
},
"luminance": 0.17716
}Semantic roles & 50–950 ramp
primary
#9F4FD4
secondary
#BADAA4
accent
#E44484
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83