#8D5FF6#8D5FF6
#8D5FF6 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.215 H 293.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5FF6 |
|---|---|
| RGB | rgb(141, 95, 246) |
| HSL | hsl(258, 89%, 67%) |
| HSV | hsv(258, 61%, 96%) |
| CMYK | cmyk(42.7%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(52.40, 51.95, -69.39) |
| CIE-LCH | lch(52.40, 86.68, 306.82°) |
| OKLab | oklab(61.18% 0.084 -0.1981) |
| OKLCH | oklch(61.18% 0.215 293) |
| XYZ | xyz(31.7067, 20.5000, 89.4572) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.87
Mediumslateblue
#7B68EE
ΔE00 4.00
Lighter Purple
#A55AF4
ΔE00 4.29
Lightish Purple
#A552E6
ΔE00 5.75
Mediumpurple
#9370DB
ΔE00 6.10
Light Indigo
#6D5ACF
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5FF6 #C8F65F
analogous
#5F7DF6 #8D5FF6 #D85FF6
triadic
#8D5FF6 #F68D5F #5FF68D
tetradic
#8D5FF6 #F65F7D #C8F65F #5FF6D8
square
#8D5FF6 #F65F7D #C8F65F #5FF6D8
split-complementary
#8D5FF6 #F6D85F #7DF65F
monochromatic
#470CCF #6425F3 #8D5FF6 #B699F9 #E0D3FD
Accessibility & contrast
On white
4.12
#8D5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#8D5FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5FF6
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5FF6 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#007AF3
Tritanopia (blue-blind)
#7082A2
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d5ff6; /* rgb */ color: rgb(141, 95, 246); /* oklch */ color: oklch(61.2% 0.215 293.0);
Tailwind
colors: {
custom: {
50: '#b58efa',
500: '#8d5ff6',
950: '#000000',
},
}SCSS
$custom: #8d5ff6; $custom-light: #b58efa; $custom-dark: #000000;
JSON
{
"hex": "#8d5ff6",
"rgb": {
"r": 141,
"g": 95,
"b": 246
},
"hsl": {
"h": 258.278,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.61184,
"c": 0.21514,
"h": 293
},
"luminance": 0.20501
}Semantic roles & 50–950 ramp
primary
#8D5FF6
secondary
#E2F1C0
accent
#E600A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85