#8D5EF3#8D5EF3
#8D5EF3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.213 H 293.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5EF3 |
|---|---|
| RGB | rgb(141, 94, 243) |
| HSL | hsl(259, 86%, 66%) |
| HSV | hsv(259, 61%, 95%) |
| CMYK | cmyk(42%, 61.3%, 0%, 4.7%) |
| CIE-LAB | lab(51.99, 51.69, -68.37) |
| CIE-LCH | lch(51.99, 85.71, 307.09°) |
| OKLab | oklab(60.83% 0.0853 -0.1951) |
| OKLCH | oklch(60.83% 0.213 293.6) |
| XYZ | xyz(31.1605, 20.1384, 87.0220) |
| Luminance | 0.2014 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.38
Mediumslateblue
#7B68EE
ΔE00 4.14
Lighter Purple
#A55AF4
ΔE00 4.21
Lightish Purple
#A552E6
ΔE00 5.43
Mediumpurple
#9370DB
ΔE00 6.08
Light Indigo
#6D5ACF
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5EF3 #C4F35E
analogous
#5E79F3 #8D5EF3 #D75EF3
triadic
#8D5EF3 #F38D5E #5EF38D
tetradic
#8D5EF3 #F35E79 #C4F35E #5EF3D7
square
#8D5EF3 #F35E79 #C4F35E #5EF3D7
split-complementary
#8D5EF3 #F3D75E #79F35E
monochromatic
#490FC8 #6525EF #8D5EF3 #B597F7 #DED0FB
Accessibility & contrast
On white
4.18
#8D5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8D5EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5EF3
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5EF3 | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#7180A0
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d5ef3; /* rgb */ color: rgb(141, 94, 243); /* oklch */ color: oklch(60.8% 0.213 293.6);
Tailwind
colors: {
custom: {
50: '#b58ef8',
500: '#8d5ef3',
950: '#000000',
},
}SCSS
$custom: #8d5ef3; $custom-light: #b58ef8; $custom-dark: #000000;
JSON
{
"hex": "#8d5ef3",
"rgb": {
"r": 141,
"g": 94,
"b": 243
},
"hsl": {
"h": 258.926,
"s": 86.127,
"l": 66.078
},
"oklch": {
"l": 0.60825,
"c": 0.2129,
"h": 293.6
},
"luminance": 0.20139
}Semantic roles & 50–950 ramp
primary
#8D5EF3
secondary
#DFEFBE
accent
#E3039C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85