#9E3ED2#9E3ED2
#9E3ED2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.221 H 310.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E3ED2 |
|---|---|
| RGB | rgb(158, 62, 210) |
| HSL | hsl(279, 62%, 53%) |
| HSV | hsv(279, 70%, 82%) |
| CMYK | cmyk(24.8%, 70.5%, 0%, 17.6%) |
| CIE-LAB | lab(46.13, 62.69, -59.07) |
| CIE-LCH | lch(46.13, 86.14, 316.71°) |
| OKLab | oklab(56.34% 0.1448 -0.1671) |
| OKLCH | oklch(56.34% 0.221 310.9) |
| XYZ | xyz(27.4538, 15.3681, 62.4804) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.68
Vibrant Purple
#AD03DE
ΔE00 4.52
Purply
#983FB2
ΔE00 5.02
Violet (survey)
#9A0EEA
ΔE00 5.65
Blueviolet
#8A2BE2
ΔE00 5.66
Lightish Purple
#A552E6
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E3ED2 #72D23E
analogous
#543ED2 #9E3ED2 #D23EBC
triadic
#9E3ED2 #D29E3E #3ED29E
tetradic
#9E3ED2 #D2543E #72D23E #3EBCD2
square
#9E3ED2 #D2543E #72D23E #3EBCD2
split-complementary
#9E3ED2 #BCD23E #3ED254
monochromatic
#591C79 #7D28AB #9E3ED2 #B770DE #D0A1E9
Accessibility & contrast
On white
5.16
#9E3ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#9E3ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E3ED2
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E3ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E3ED2 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#276FCF
Tritanopia (blue-blind)
#975E84
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9e3ed2; /* rgb */ color: rgb(158, 62, 210); /* oklch */ color: oklch(56.3% 0.221 310.9);
Tailwind
colors: {
custom: {
50: '#bf7be1',
500: '#9e3ed2',
950: '#000000',
},
}SCSS
$custom: #9e3ed2; $custom-light: #bf7be1; $custom-dark: #000000;
JSON
{
"hex": "#9e3ed2",
"rgb": {
"r": 158,
"g": 62,
"b": 210
},
"hsl": {
"h": 278.919,
"s": 62.185,
"l": 53.333
},
"oklch": {
"l": 0.56339,
"c": 0.22111,
"h": 310.9
},
"luminance": 0.15367
}Semantic roles & 50–950 ramp
primary
#9E3ED2
secondary
#ACD696
accent
#E5437C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83