#9E3FDA#9E3FDA
#9E3FDA is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 57.0% C 0.228 H 308.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9E3FDA |
|---|---|
| RGB | rgb(158, 63, 218) |
| HSL | hsl(277, 68%, 55%) |
| HSV | hsv(277, 71%, 85%) |
| CMYK | cmyk(27.5%, 71.1%, 0%, 14.5%) |
| CIE-LAB | lab(46.83, 63.98, -62.53) |
| CIE-LCH | lch(46.83, 89.47, 315.66°) |
| OKLab | oklab(57% 0.1428 -0.1772) |
| OKLCH | oklch(57% 0.228 308.9) |
| XYZ | xyz(28.5304, 15.8866, 67.8795) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.48
Vibrant Purple
#AD03DE
ΔE00 4.72
Electric Purple
#AA23FF
ΔE00 4.86
Lightish Purple
#A552E6
ΔE00 4.90
Bright Violet
#AD0AFD
ΔE00 5.14
Violet (survey)
#9A0EEA
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E3FDA #7BDA3F
analogous
#503FDA #9E3FDA #DA3FC9
triadic
#9E3FDA #DA9E3F #3FDA9E
tetradic
#9E3FDA #DA503F #7BDA3F #3FC9DA
square
#9E3FDA #DA503F #7BDA3F #3FC9DA
split-complementary
#9E3FDA #C9DA3F #3FDA50
monochromatic
#5B1A85 #7F24B8 #9E3FDA #B872E4 #D2A6EE
Accessibility & contrast
On white
5.03
#9E3FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#9E3FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E3FDA
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E3FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E3FDA | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDE
Deuteranopia (green-blind)
#1770D7
Tritanopia (blue-blind)
#956289
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9e3fda; /* rgb */ color: rgb(158, 63, 218); /* oklch */ color: oklch(57.0% 0.228 308.9);
Tailwind
colors: {
custom: {
50: '#c07ce6',
500: '#9e3fda',
950: '#000000',
},
}SCSS
$custom: #9e3fda; $custom-light: #c07ce6; $custom-dark: #000000;
JSON
{
"hex": "#9e3fda",
"rgb": {
"r": 158,
"g": 63,
"b": 218
},
"hsl": {
"h": 276.774,
"s": 67.686,
"l": 55.098
},
"oklch": {
"l": 0.57003,
"c": 0.22759,
"h": 308.9
},
"luminance": 0.15886
}Semantic roles & 50–950 ramp
primary
#9E3FDA
secondary
#B3DB9A
accent
#EB3D80
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84