#8D5CF8#8D5CF8
#8D5CF8 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.221 H 293.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5CF8 |
|---|---|
| RGB | rgb(141, 92, 248) |
| HSL | hsl(259, 92%, 67%) |
| HSV | hsv(259, 63%, 97%) |
| CMYK | cmyk(43.1%, 62.9%, 0%, 2.7%) |
| CIE-LAB | lab(51.94, 54.07, -71.24) |
| CIE-LCH | lch(51.94, 89.44, 307.20°) |
| OKLab | oklab(60.9% 0.087 -0.2035) |
| OKLCH | oklch(60.9% 0.221 293.1) |
| XYZ | xyz(31.7503, 20.0934, 90.9943) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.56
Lighter Purple
#A55AF4
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 4.46
Lightish Purple
#A552E6
ΔE00 5.55
Mediumpurple
#9370DB
ΔE00 6.75
Light Indigo
#6D5ACF
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5CF8 #C7F85C
analogous
#5C79F8 #8D5CF8 #DB5CF8
triadic
#8D5CF8 #F88D5C #5CF88D
tetradic
#8D5CF8 #F85C79 #C7F85C #5CF8DB
square
#8D5CF8 #F85C79 #C7F85C #5CF8DB
split-complementary
#8D5CF8 #F8DB5C #79F85C
monochromatic
#4809D1 #6421F5 #8D5CF8 #B697FB #DFD1FD
Accessibility & contrast
On white
4.18
#8D5CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#8D5CF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5CF8
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5CF8 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0079F5
Tritanopia (blue-blind)
#6F80A2
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d5cf8; /* rgb */ color: rgb(141, 92, 248); /* oklch */ color: oklch(60.9% 0.221 293.1);
Tailwind
colors: {
custom: {
50: '#b58dfb',
500: '#8d5cf8',
950: '#000000',
},
}SCSS
$custom: #8d5cf8; $custom-light: #b58dfb; $custom-dark: #000000;
JSON
{
"hex": "#8d5cf8",
"rgb": {
"r": 141,
"g": 92,
"b": 248
},
"hsl": {
"h": 258.846,
"s": 91.765,
"l": 66.667
},
"oklch": {
"l": 0.60897,
"c": 0.22132,
"h": 293.1
},
"luminance": 0.20094
}Semantic roles & 50–950 ramp
primary
#8D5CF8
secondary
#E1F1BF
accent
#E6009D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86