#8D5CF9#8D5CF9
#8D5CF9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.222 H 293.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5CF9 |
|---|---|
| RGB | rgb(141, 92, 249) |
| HSL | hsl(259, 93%, 67%) |
| HSV | hsv(259, 63%, 98%) |
| CMYK | cmyk(43.4%, 63.1%, 0%, 2.4%) |
| CIE-LAB | lab(52.01, 54.34, -71.69) |
| CIE-LCH | lch(52.01, 89.95, 307.16°) |
| OKLab | oklab(60.97% 0.0869 -0.2048) |
| OKLCH | oklch(60.97% 0.222 293) |
| XYZ | xyz(31.9059, 20.1556, 91.8135) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.68
Lighter Purple
#A55AF4
ΔE00 4.29
Mediumslateblue
#7B68EE
ΔE00 4.48
Lightish Purple
#A552E6
ΔE00 5.62
Mediumpurple
#9370DB
ΔE00 6.82
Light Indigo
#6D5ACF
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5CF9 #C8F95C
analogous
#5C7AF9 #8D5CF9 #DB5CF9
triadic
#8D5CF9 #F98D5C #5CF98D
tetradic
#8D5CF9 #F95C7A #C8F95C #5CF9DB
square
#8D5CF9 #F95C7A #C8F95C #5CF9DB
split-complementary
#8D5CF9 #F9DB5C #7AF95C
monochromatic
#4708D3 #6421F7 #8D5CF9 #B697FB #E0D2FD
Accessibility & contrast
On white
4.17
#8D5CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#8D5CF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5CF9
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5CF9 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 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)
#007EFE
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#6E81A2
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8d5cf9; /* rgb */ color: rgb(141, 92, 249); /* oklch */ color: oklch(61.0% 0.222 293.0);
Tailwind
colors: {
custom: {
50: '#b68dfc',
500: '#8d5cf9',
950: '#000000',
},
}SCSS
$custom: #8d5cf9; $custom-light: #b68dfc; $custom-dark: #000000;
JSON
{
"hex": "#8d5cf9",
"rgb": {
"r": 141,
"g": 92,
"b": 249
},
"hsl": {
"h": 258.726,
"s": 92.899,
"l": 66.863
},
"oklch": {
"l": 0.6097,
"c": 0.22249,
"h": 293
},
"luminance": 0.20157
}Semantic roles & 50–950 ramp
primary
#8D5CF9
secondary
#E2F2BF
accent
#E6009E
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86