#9E3DCD#9E3DCD
#9E3DCD is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 55.9% C 0.218 H 312.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9E3DCD |
|---|---|
| RGB | rgb(158, 61, 205) |
| HSL | hsl(280, 59%, 52%) |
| HSV | hsv(280, 70%, 80%) |
| CMYK | cmyk(22.9%, 70.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.65, 62.06, -56.97) |
| CIE-LCH | lch(45.65, 84.24, 317.45°) |
| OKLab | oklab(55.89% 0.1464 -0.1609) |
| OKLCH | oklch(55.89% 0.218 312.3) |
| XYZ | xyz(26.7867, 15.0151, 59.2329) |
| Luminance | 0.1501 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.32
Purply
#983FB2
ΔE00 4.25
Vibrant Purple
#AD03DE
ΔE00 4.51
Barney
#AC1DB8
ΔE00 5.67
Violet (survey)
#9A0EEA
ΔE00 5.88
Blueviolet
#8A2BE2
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E3DCD #6CCD3D
analogous
#563DCD #9E3DCD #CD3DB4
triadic
#9E3DCD #CD9E3D #3DCD9E
tetradic
#9E3DCD #CD563D #6CCD3D #3DB4CD
square
#9E3DCD #CD563D #6CCD3D #3DB4CD
split-complementary
#9E3DCD #B4CD3D #3DCD56
monochromatic
#571D72 #7B2AA3 #9E3DCD #B66EDA #CF9EE6
Accessibility & contrast
On white
5.25
#9E3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9E3DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E3DCD
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E3DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E3DCD | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#995C81
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9e3dcd; /* rgb */ color: rgb(158, 61, 205); /* oklch */ color: oklch(55.9% 0.218 312.3);
Tailwind
colors: {
custom: {
50: '#bf7bdd',
500: '#9e3dcd',
950: '#000000',
},
}SCSS
$custom: #9e3dcd; $custom-light: #bf7bdd; $custom-dark: #000000;
JSON
{
"hex": "#9e3dcd",
"rgb": {
"r": 158,
"g": 61,
"b": 205
},
"hsl": {
"h": 280.417,
"s": 59.016,
"l": 52.157
},
"oklch": {
"l": 0.55892,
"c": 0.21754,
"h": 312.3
},
"luminance": 0.15014
}Semantic roles & 50–950 ramp
primary
#9E3DCD
secondary
#A8D293
accent
#E24679
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83