#8D5EF1#8D5EF1
#8D5EF1 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.211 H 293.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5EF1 |
|---|---|
| RGB | rgb(141, 94, 241) |
| HSL | hsl(259, 84%, 66%) |
| HSV | hsv(259, 61%, 95%) |
| CMYK | cmyk(41.5%, 61%, 0%, 5.5%) |
| CIE-LAB | lab(51.86, 51.16, -67.48) |
| CIE-LCH | lch(51.86, 84.68, 307.17°) |
| OKLab | oklab(60.68% 0.0854 -0.1924) |
| OKLCH | oklch(60.68% 0.211 293.9) |
| XYZ | xyz(30.8601, 20.0182, 85.4400) |
| Luminance | 0.2002 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.19
Mediumslateblue
#7B68EE
ΔE00 4.17
Lighter Purple
#A55AF4
ΔE00 4.20
Lightish Purple
#A552E6
ΔE00 5.31
Mediumpurple
#9370DB
ΔE00 5.96
Light Indigo
#6D5ACF
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5EF1 #C2F15E
analogous
#5E78F1 #8D5EF1 #D75EF1
triadic
#8D5EF1 #F18D5E #5EF18D
tetradic
#8D5EF1 #F15E78 #C2F15E #5EF1D7
square
#8D5EF1 #F15E78 #C2F15E #5EF1D7
split-complementary
#8D5EF1 #F1D75E #78F15E
monochromatic
#4A11C4 #6526EC #8D5EF1 #B596F6 #DDCFFB
Accessibility & contrast
On white
4.20
#8D5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#8D5EF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5EF1
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5EF1 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#727F9F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d5ef1; /* rgb */ color: rgb(141, 94, 241); /* oklch */ color: oklch(60.7% 0.211 293.9);
Tailwind
colors: {
custom: {
50: '#b58ef6',
500: '#8d5ef1',
950: '#000000',
},
}SCSS
$custom: #8d5ef1; $custom-light: #b58ef6; $custom-dark: #000000;
JSON
{
"hex": "#8d5ef1",
"rgb": {
"r": 141,
"g": 94,
"b": 241
},
"hsl": {
"h": 259.184,
"s": 84,
"l": 65.686
},
"oklch": {
"l": 0.60684,
"c": 0.21052,
"h": 293.9
},
"luminance": 0.20019
}Semantic roles & 50–950 ramp
primary
#8D5EF1
secondary
#DEEEBD
accent
#E0059A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85