#8D5CFD#8D5CFD
#8D5CFD is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.227 H 292.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5CFD |
|---|---|
| RGB | rgb(141, 92, 253) |
| HSL | hsl(258, 98%, 68%) |
| HSV | hsv(258, 64%, 99%) |
| CMYK | cmyk(44.3%, 63.6%, 0%, 0.8%) |
| CIE-LAB | lab(52.30, 55.39, -73.45) |
| CIE-LCH | lch(52.30, 92.00, 307.02°) |
| OKLab | oklab(61.26% 0.0865 -0.21) |
| OKLCH | oklch(61.26% 0.227 292.4) |
| XYZ | xyz(32.5364, 20.4078, 95.1343) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.14
Lighter Purple
#A55AF4
ΔE00 4.42
Mediumslateblue
#7B68EE
ΔE00 4.56
Lightish Purple
#A552E6
ΔE00 5.92
Mediumpurple
#9370DB
ΔE00 7.08
Light Indigo
#6D5ACF
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5CFD #CCFD5C
analogous
#5C7BFD #8D5CFD #DE5CFD
triadic
#8D5CFD #FD8D5C #5CFD8D
tetradic
#8D5CFD #FD5C7B #CCFD5C #5CFDDE
square
#8D5CFD #FD5C7B #CCFD5C #5CFDDE
split-complementary
#8D5CFD #FDDE5C #7BFD5C
monochromatic
#4503DC #6320FC #8D5CFD #B798FE #E2D5FE
Accessibility & contrast
On white
4.13
#8D5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#8D5CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5CFD
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5CFD | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007AFA
Tritanopia (blue-blind)
#6C82A5
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #8d5cfd; /* rgb */ color: rgb(141, 92, 253); /* oklch */ color: oklch(61.3% 0.227 292.4);
Tailwind
colors: {
custom: {
50: '#b68dff',
500: '#8d5cfd',
950: '#000000',
},
}SCSS
$custom: #8d5cfd; $custom-light: #b68dff; $custom-dark: #000000;
JSON
{
"hex": "#8d5cfd",
"rgb": {
"r": 141,
"g": 92,
"b": 253
},
"hsl": {
"h": 258.261,
"s": 97.576,
"l": 67.647
},
"oklch": {
"l": 0.61263,
"c": 0.22712,
"h": 292.4
},
"luminance": 0.20409
}Semantic roles & 50–950 ramp
primary
#8D5CFD
secondary
#E4F3C1
accent
#E600A0
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86