#9E5CD4#9E5CD4
#9E5CD4 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.182 H 307.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5CD4 |
|---|---|
| RGB | rgb(158, 92, 212) |
| HSL | hsl(273, 58%, 60%) |
| HSV | hsv(273, 57%, 83%) |
| CMYK | cmyk(25.5%, 56.6%, 0%, 16.9%) |
| CIE-LAB | lab(51.47, 48.89, -51.64) |
| CIE-LCH | lch(51.47, 71.11, 313.43°) |
| OKLab | oklab(60.24% 0.1102 -0.1454) |
| OKLCH | oklch(60.24% 0.182 307.2) |
| XYZ | xyz(29.8089, 19.6772, 64.5023) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.22
Amethyst
#9B5FC0
ΔE00 3.48
Lighter Purple
#A55AF4
ΔE00 4.67
Deep Lavender
#8D5EB7
ΔE00 5.40
Mediumorchid
#BA55D3
ΔE00 5.46
Purpley
#8756E4
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5CD4 #92D45C
analogous
#625CD4 #9E5CD4 #D45CCE
triadic
#9E5CD4 #D49E5C #5CD49E
tetradic
#9E5CD4 #D4625C #92D45C #5CCED4
square
#9E5CD4 #D4625C #92D45C #5CCED4
split-complementary
#9E5CD4 #CED45C #5CD462
monochromatic
#602690 #8033C0 #9E5CD4 #BB8CE1 #D8BDEE
Accessibility & contrast
On white
4.25
#9E5CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#9E5CD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5CD4
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5CD4 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3078D8
Deuteranopia (green-blind)
#4A7BD1
Tritanopia (blue-blind)
#96738F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #9e5cd4; /* rgb */ color: rgb(158, 92, 212); /* oklch */ color: oklch(60.2% 0.182 307.2);
Tailwind
colors: {
custom: {
50: '#be8de2',
500: '#9e5cd4',
950: '#000000',
},
}SCSS
$custom: #9e5cd4; $custom-light: #be8de2; $custom-dark: #000000;
JSON
{
"hex": "#9e5cd4",
"rgb": {
"r": 158,
"g": 92,
"b": 212
},
"hsl": {
"h": 273,
"s": 58.252,
"l": 59.608
},
"oklch": {
"l": 0.60236,
"c": 0.18246,
"h": 307.2
},
"luminance": 0.19677
}Semantic roles & 50–950 ramp
primary
#9E5CD4
secondary
#C4DDAF
accent
#E1468C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83