#8D5CF2#8D5CF2
#8D5CF2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.5% C 0.214 H 294.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8D5CF2 |
|---|---|
| RGB | rgb(141, 92, 242) |
| HSL | hsl(260, 85%, 65%) |
| HSV | hsv(260, 62%, 95%) |
| CMYK | cmyk(41.7%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(51.53, 52.49, -68.57) |
| CIE-LCH | lch(51.53, 86.36, 307.44°) |
| OKLab | oklab(60.47% 0.0875 -0.1956) |
| OKLCH | oklch(60.47% 0.214 294.1) |
| XYZ | xyz(30.8344, 19.7270, 86.1703) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.91
Lighter Purple
#A55AF4
ΔE00 4.20
Mediumslateblue
#7B68EE
ΔE00 4.48
Lightish Purple
#A552E6
ΔE00 5.16
Mediumpurple
#9370DB
ΔE00 6.41
Light Indigo
#6D5ACF
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D5CF2 #C1F25C
analogous
#5C76F2 #8D5CF2 #D85CF2
triadic
#8D5CF2 #F28D5C #5CF28D
tetradic
#8D5CF2 #F25C76 #C1F25C #5CF2D8
square
#8D5CF2 #F25C76 #C1F25C #5CF2D8
split-complementary
#8D5CF2 #F2D85C #76F25C
monochromatic
#4B10C4 #6523ED #8D5CF2 #B595F7 #DCCDFB
Accessibility & contrast
On white
4.25
#8D5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#8D5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D5CF2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D5CF2 | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#727E9F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #8d5cf2; /* rgb */ color: rgb(141, 92, 242); /* oklch */ color: oklch(60.5% 0.214 294.1);
Tailwind
colors: {
custom: {
50: '#b58cf7',
500: '#8d5cf2',
950: '#000000',
},
}SCSS
$custom: #8d5cf2; $custom-light: #b58cf7; $custom-dark: #000000;
JSON
{
"hex": "#8d5cf2",
"rgb": {
"r": 141,
"g": 92,
"b": 242
},
"hsl": {
"h": 259.6,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.60465,
"c": 0.21431,
"h": 294.1
},
"luminance": 0.19728
}Semantic roles & 50–950 ramp
primary
#8D5CF2
secondary
#DEEEBC
accent
#E20499
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85