#9F54DF#9F54DF
#9F54DF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.206 H 305.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9F54DF |
|---|---|
| RGB | rgb(159, 84, 223) |
| HSL | hsl(272, 68%, 60%) |
| HSV | hsv(272, 62%, 87%) |
| CMYK | cmyk(28.7%, 62.3%, 0%, 12.5%) |
| CIE-LAB | lab(50.73, 55.73, -59.06) |
| CIE-LCH | lch(50.73, 81.21, 313.34°) |
| OKLab | oklab(59.94% 0.1211 -0.1671) |
| OKLCH | oklch(59.94% 0.206 305.9) |
| XYZ | xyz(30.7848, 19.0395, 71.8509) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.32
Lighter Purple
#A55AF4
ΔE00 3.64
Purpley
#8756E4
ΔE00 4.62
Amethyst
#9B5FC0
ΔE00 5.59
Mediumorchid
#BA55D3
ΔE00 6.13
Electric Purple
#AA23FF
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F54DF #94DF54
analogous
#5954DF #9F54DF #DF54DA
triadic
#9F54DF #DF9F54 #54DF9F
tetradic
#9F54DF #DF5954 #94DF54 #54DADF
square
#9F54DF #DF5954 #94DF54 #54DADF
split-complementary
#9F54DF #DADF54 #54DF59
monochromatic
#611D9C #8227CF #9F54DF #BC88E9 #D9BBF2
Accessibility & contrast
On white
4.37
#9F54DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#9F54DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F54DF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F54DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F54DF | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3579DC
Tritanopia (blue-blind)
#947192
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9f54df; /* rgb */ color: rgb(159, 84, 223); /* oklch */ color: oklch(59.9% 0.206 305.9);
Tailwind
colors: {
custom: {
50: '#bf88ea',
500: '#9f54df',
950: '#000000',
},
}SCSS
$custom: #9f54df; $custom-light: #bf88ea; $custom-dark: #000000;
JSON
{
"hex": "#9f54df",
"rgb": {
"r": 159,
"g": 84,
"b": 223
},
"hsl": {
"h": 272.374,
"s": 68.473,
"l": 60.196
},
"oklch": {
"l": 0.59938,
"c": 0.20637,
"h": 305.9
},
"luminance": 0.19039
}Semantic roles & 50–950 ramp
primary
#9F54DF
secondary
#C5E2AD
accent
#D0156B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84