#8E6FE1#8E6FE1
#8E6FE1 is a light, vivid violet. Relative luminance 0.226; OKLCH L 62.4% C 0.167 H 293.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8E6FE1 |
|---|---|
| RGB | rgb(142, 111, 225) |
| HSL | hsl(256, 66%, 66%) |
| HSV | hsv(256, 51%, 88%) |
| CMYK | cmyk(36.9%, 50.7%, 0%, 11.8%) |
| CIE-LAB | lab(54.61, 37.68, -54.07) |
| CIE-LCH | lch(54.61, 65.91, 304.87°) |
| OKLab | oklab(62.42% 0.0666 -0.153) |
| OKLCH | oklch(62.42% 0.167 293.5) |
| XYZ | xyz(30.4268, 22.5552, 73.9701) |
| Luminance | 0.2256 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 1.61
Mediumslateblue
#7B68EE
ΔE00 4.58
Lighter Purple
#A55AF4
ΔE00 6.68
Periwinkle (survey)
#8E82FE
ΔE00 7.02
Purpley
#8756E4
ΔE00 7.08
Light Urple
#B36FF6
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E6FE1 #C2E16F
analogous
#6F89E1 #8E6FE1 #C76FE1
triadic
#8E6FE1 #E18E6F #6FE18E
tetradic
#8E6FE1 #E16F89 #C2E16F #6FE1C7
square
#8E6FE1 #E16F89 #C2E16F #6FE1C7
split-complementary
#8E6FE1 #E1C76F #89E16F
monochromatic
#4B25B1 #663CD6 #8E6FE1 #B6A2EC #DDD4F6
Accessibility & contrast
On white
3.81
#8E6FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#8E6FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E6FE1
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E6FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E6FE1 | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#4881DE
Tritanopia (blue-blind)
#79869E
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #8e6fe1; /* rgb */ color: rgb(142, 111, 225); /* oklch */ color: oklch(62.4% 0.167 293.5);
Tailwind
colors: {
custom: {
50: '#b399eb',
500: '#8e6fe1',
950: '#000000',
},
}SCSS
$custom: #8e6fe1; $custom-light: #b399eb; $custom-dark: #000000;
JSON
{
"hex": "#8e6fe1",
"rgb": {
"r": 142,
"g": 111,
"b": 225
},
"hsl": {
"h": 256.316,
"s": 65.517,
"l": 65.882
},
"oklch": {
"l": 0.62417,
"c": 0.16688,
"h": 293.5
},
"luminance": 0.22556
}Semantic roles & 50–950 ramp
primary
#8E6FE1
secondary
#DEE9C3
accent
#CD189C
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E16
muted
#807E84