#9E5CCD#9E5CCD
#9E5CCD is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.8% C 0.175 H 309.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5CCD |
|---|---|
| RGB | rgb(158, 92, 205) |
| HSL | hsl(275, 53%, 58%) |
| HSV | hsv(275, 55%, 80%) |
| CMYK | cmyk(22.9%, 55.1%, 0%, 19.6%) |
| CIE-LAB | lab(51.07, 47.29, -48.28) |
| CIE-LCH | lch(51.07, 67.58, 314.40°) |
| OKLab | oklab(59.82% 0.1099 -0.1356) |
| OKLCH | oklch(59.82% 0.175 309) |
| XYZ | xyz(28.9450, 19.3316, 59.9523) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.37
Lightish Purple
#A552E6
ΔE00 4.14
Deep Lavender
#8D5EB7
ΔE00 4.57
Mediumorchid
#BA55D3
ΔE00 5.23
Lighter Purple
#A55AF4
ΔE00 5.79
Deep Lilac
#966EBD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5CCD #8BCD5C
analogous
#655CCD #9E5CCD #CD5CC4
triadic
#9E5CCD #CD9E5C #5CCD9E
tetradic
#9E5CCD #CD655C #8BCD5C #5CC4CD
square
#9E5CCD #CD655C #8BCD5C #5CC4CD
split-complementary
#9E5CCD #C4CD5C #5CCD65
monochromatic
#5F2986 #8037B4 #9E5CCD #BA8BDB #D6BAEA
Accessibility & contrast
On white
4.32
#9E5CCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#9E5CCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5CCD
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5CCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5CCD | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#98708C
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9e5ccd; /* rgb */ color: rgb(158, 92, 205); /* oklch */ color: oklch(59.8% 0.175 309.0);
Tailwind
colors: {
custom: {
50: '#bd8ddd',
500: '#9e5ccd',
950: '#000000',
},
}SCSS
$custom: #9e5ccd; $custom-light: #bd8ddd; $custom-dark: #000000;
JSON
{
"hex": "#9e5ccd",
"rgb": {
"r": 158,
"g": 92,
"b": 205
},
"hsl": {
"h": 275.044,
"s": 53.052,
"l": 58.235
},
"oklch": {
"l": 0.59816,
"c": 0.17456,
"h": 309
},
"luminance": 0.19331
}Semantic roles & 50–950 ramp
primary
#9E5CCD
secondary
#BFD9AC
accent
#DC4B88
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83