#8E5CF2#8E5CF2
#8E5CF2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.214 H 294.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8E5CF2 |
|---|---|
| RGB | rgb(142, 92, 242) |
| HSL | hsl(260, 85%, 65%) |
| HSV | hsv(260, 62%, 95%) |
| CMYK | cmyk(41.3%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(51.63, 52.70, -68.40) |
| CIE-LCH | lch(51.63, 86.35, 307.61°) |
| OKLab | oklab(60.56% 0.0888 -0.1951) |
| OKLCH | oklch(60.56% 0.214 294.5) |
| XYZ | xyz(31.0052, 19.8151, 86.1783) |
| Luminance | 0.1982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.98
Lighter Purple
#A55AF4
ΔE00 4.02
Mediumslateblue
#7B68EE
ΔE00 4.60
Lightish Purple
#A552E6
ΔE00 5.01
Mediumpurple
#9370DB
ΔE00 6.35
Light Indigo
#6D5ACF
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E5CF2 #C0F25C
analogous
#5C75F2 #8E5CF2 #D95CF2
triadic
#8E5CF2 #F28E5C #5CF28E
tetradic
#8E5CF2 #F25C75 #C0F25C #5CF2D9
square
#8E5CF2 #F25C75 #C0F25C #5CF2D9
split-complementary
#8E5CF2 #F2D95C #75F25C
monochromatic
#4C10C4 #6723ED #8E5CF2 #B595F7 #DDCDFB
Accessibility & contrast
On white
4.23
#8E5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#8E5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E5CF2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E5CF2 | 1.00 | 4.23 | 4.96 | 4.96 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#737E9F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8e5cf2; /* rgb */ color: rgb(142, 92, 242); /* oklch */ color: oklch(60.6% 0.214 294.5);
Tailwind
colors: {
custom: {
50: '#b58cf7',
500: '#8e5cf2',
950: '#000000',
},
}SCSS
$custom: #8e5cf2; $custom-light: #b58cf7; $custom-dark: #000000;
JSON
{
"hex": "#8e5cf2",
"rgb": {
"r": 142,
"g": 92,
"b": 242
},
"hsl": {
"h": 260,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.60561,
"c": 0.21438,
"h": 294.5
},
"luminance": 0.19816
}Semantic roles & 50–950 ramp
primary
#8E5CF2
secondary
#DDEEBC
accent
#E20498
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85