#9D54CD#9D54CD
#9D54CD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.186 H 309.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9D54CD |
|---|---|
| RGB | rgb(157, 84, 205) |
| HSL | hsl(276, 55%, 57%) |
| HSV | hsv(276, 59%, 80%) |
| CMYK | cmyk(23.4%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(49.40, 51.18, -50.97) |
| CIE-LCH | lch(49.40, 72.23, 315.12°) |
| OKLab | oklab(58.56% 0.1189 -0.1434) |
| OKLCH | oklch(58.56% 0.186 309.7) |
| XYZ | xyz(28.0923, 17.9170, 59.7242) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.57
Lightish Purple
#A552E6
ΔE00 3.80
Deep Lavender
#8D5EB7
ΔE00 4.95
Mediumorchid
#BA55D3
ΔE00 5.75
Purpley
#8756E4
ΔE00 6.00
Lighter Purple
#A55AF4
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D54CD #84CD54
analogous
#6154CD #9D54CD #CD54C1
triadic
#9D54CD #CD9D54 #54CD9D
tetradic
#9D54CD #CD6154 #84CD54 #54C1CD
square
#9D54CD #CD6154 #84CD54 #54C1CD
split-complementary
#9D54CD #C1CD54 #54CD61
monochromatic
#5D2681 #7F34B0 #9D54CD #B883DB #D3B3E9
Accessibility & contrast
On white
4.58
#9D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#9D54CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D54CD
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D54CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D54CD | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#976B89
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9d54cd; /* rgb */ color: rgb(157, 84, 205); /* oklch */ color: oklch(58.6% 0.186 309.7);
Tailwind
colors: {
custom: {
50: '#bd88dd',
500: '#9d54cd',
950: '#000000',
},
}SCSS
$custom: #9d54cd; $custom-light: #bd88dd; $custom-dark: #000000;
JSON
{
"hex": "#9d54cd",
"rgb": {
"r": 157,
"g": 84,
"b": 205
},
"hsl": {
"h": 276.198,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.58561,
"c": 0.18632,
"h": 309.7
},
"luminance": 0.17917
}Semantic roles & 50–950 ramp
primary
#9D54CD
secondary
#B9D7A6
accent
#DE4A85
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83