#9F4FD6#9F4FD6
#9F4FD6 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.204 H 308.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FD6 |
|---|---|
| RGB | rgb(159, 79, 214) |
| HSL | hsl(276, 62%, 57%) |
| HSV | hsv(276, 63%, 84%) |
| CMYK | cmyk(25.7%, 63.1%, 0%, 16.1%) |
| CIE-LAB | lab(49.28, 56.13, -56.29) |
| CIE-LCH | lch(49.28, 79.50, 314.92°) |
| OKLab | oklab(58.7% 0.1273 -0.159) |
| OKLCH | oklch(58.7% 0.204 308.7) |
| XYZ | xyz(29.2292, 17.8184, 65.5048) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.74
Amethyst
#9B5FC0
ΔE00 5.18
Purpley
#8756E4
ΔE00 5.37
Lighter Purple
#A55AF4
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 6.05
Darkorchid
#9932CC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FD6 #86D64F
analogous
#5C4FD6 #9F4FD6 #D64FC9
triadic
#9F4FD6 #D69F4F #4FD69F
tetradic
#9F4FD6 #D65C4F #86D64F #4FC9D6
square
#9F4FD6 #D65C4F #86D64F #4FC9D6
split-complementary
#9F4FD6 #C9D64F #4FD65C
monochromatic
#5F208A #812CBC #9F4FD6 #BA81E2 #D5B2ED
Accessibility & contrast
On white
4.60
#9F4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#9F4FD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4FD6
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4FD6 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#3976D3
Tritanopia (blue-blind)
#976A8B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9f4fd6; /* rgb */ color: rgb(159, 79, 214); /* oklch */ color: oklch(58.7% 0.204 308.7);
Tailwind
colors: {
custom: {
50: '#bf85e3',
500: '#9f4fd6',
950: '#000000',
},
}SCSS
$custom: #9f4fd6; $custom-light: #bf85e3; $custom-dark: #000000;
JSON
{
"hex": "#9f4fd6",
"rgb": {
"r": 159,
"g": 79,
"b": 214
},
"hsl": {
"h": 275.556,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.58703,
"c": 0.20366,
"h": 308.7
},
"luminance": 0.17818
}Semantic roles & 50–950 ramp
primary
#9F4FD6
secondary
#BBDCA5
accent
#E54385
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84