#8E5FCA#8E5FCA
#8E5FCA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.162 H 301.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8E5FCA |
|---|---|
| RGB | rgb(142, 95, 202) |
| HSL | hsl(266, 50%, 58%) |
| HSV | hsv(266, 53%, 79%) |
| CMYK | cmyk(29.7%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(49.74, 40.83, -48.80) |
| CIE-LCH | lch(49.74, 63.63, 309.92°) |
| OKLab | oklab(58.37% 0.0856 -0.1376) |
| OKLCH | oklch(58.37% 0.162 301.9) |
| XYZ | xyz(25.9058, 18.1994, 58.0137) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.46
Amethyst
#9B5FC0
ΔE00 3.80
Purpley
#8756E4
ΔE00 4.99
Mediumpurple
#9370DB
ΔE00 5.70
Lightish Purple
#A552E6
ΔE00 5.82
Deep Lilac
#966EBD
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E5FCA #9BCA5F
analogous
#5F65CA #8E5FCA #C35FCA
triadic
#8E5FCA #CA8E5F #5FCA8E
tetradic
#8E5FCA #CA5F65 #9BCA5F #5FCAC3
square
#8E5FCA #CA5F65 #9BCA5F #5FCAC3
split-complementary
#8E5FCA #CAC35F #65CA5F
monochromatic
#522B83 #6F3BB1 #8E5FCA #AE8DD9 #CFBBE8
Accessibility & contrast
On white
4.53
#8E5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#8E5FCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E5FCA
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E5FCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E5FCA | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#4776C7
Tritanopia (blue-blind)
#83738B
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8e5fca; /* rgb */ color: rgb(142, 95, 202); /* oklch */ color: oklch(58.4% 0.162 301.9);
Tailwind
colors: {
custom: {
50: '#b28edb',
500: '#8e5fca',
950: '#000000',
},
}SCSS
$custom: #8e5fca; $custom-light: #b28edb; $custom-dark: #000000;
JSON
{
"hex": "#8e5fca",
"rgb": {
"r": 142,
"g": 95,
"b": 202
},
"hsl": {
"h": 266.355,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.58373,
"c": 0.16201,
"h": 301.9
},
"luminance": 0.18199
}Semantic roles & 50–950 ramp
primary
#8E5FCA
secondary
#C5D8AD
accent
#DA4E9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83