#9D54DF#9D54DF
#9D54DF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.206 H 305.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9D54DF |
|---|---|
| RGB | rgb(157, 84, 223) |
| HSL | hsl(272, 68%, 60%) |
| HSV | hsv(272, 62%, 87%) |
| CMYK | cmyk(29.6%, 62.3%, 0%, 12.5%) |
| CIE-LAB | lab(50.50, 55.29, -59.46) |
| CIE-LCH | lch(50.50, 81.19, 312.92°) |
| OKLab | oklab(59.71% 0.1185 -0.1683) |
| OKLCH | oklch(59.71% 0.206 305.1) |
| XYZ | xyz(30.3913, 18.8366, 71.8325) |
| Luminance | 0.1884 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.59
Lighter Purple
#A55AF4
ΔE00 3.75
Purpley
#8756E4
ΔE00 4.24
Amethyst
#9B5FC0
ΔE00 5.69
Mediumorchid
#BA55D3
ΔE00 6.49
Electric Purple
#AA23FF
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D54DF #96DF54
analogous
#5854DF #9D54DF #DF54DB
triadic
#9D54DF #DF9D54 #54DF9D
tetradic
#9D54DF #DF5854 #96DF54 #54DBDF
square
#9D54DF #DF5854 #96DF54 #54DBDF
split-complementary
#9D54DF #DBDF54 #54DF58
monochromatic
#5F1D9C #7F27CF #9D54DF #BB88E9 #D8BBF2
Accessibility & contrast
On white
4.41
#9D54DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#9D54DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D54DF
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D54DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D54DF | 1.00 | 4.41 | 4.77 | 4.77 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#3278DC
Tritanopia (blue-blind)
#917192
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9d54df; /* rgb */ color: rgb(157, 84, 223); /* oklch */ color: oklch(59.7% 0.206 305.1);
Tailwind
colors: {
custom: {
50: '#be88ea',
500: '#9d54df',
950: '#000000',
},
}SCSS
$custom: #9d54df; $custom-light: #be88ea; $custom-dark: #000000;
JSON
{
"hex": "#9d54df",
"rgb": {
"r": 157,
"g": 84,
"b": 223
},
"hsl": {
"h": 271.511,
"s": 68.473,
"l": 60.196
},
"oklch": {
"l": 0.59713,
"c": 0.20587,
"h": 305.1
},
"luminance": 0.18836
}Semantic roles & 50–950 ramp
primary
#9D54DF
secondary
#C6E2AD
accent
#D0156E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84