#8D4CE6#8D4CE6
#8D4CE6 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.221 H 298.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4CE6 |
|---|---|
| RGB | rgb(141, 76, 230) |
| HSL | hsl(265, 75%, 60%) |
| HSV | hsv(265, 67%, 90%) |
| CMYK | cmyk(38.7%, 67%, 0%, 9.8%) |
| CIE-LAB | lab(47.68, 57.60, -68.06) |
| CIE-LCH | lch(47.68, 89.17, 310.24°) |
| OKLab | oklab(57.43% 0.1055 -0.1941) |
| OKLCH | oklch(57.43% 0.221 298.5) |
| XYZ | xyz(27.8483, 16.5444, 76.5738) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.37
Lightish Purple
#A552E6
ΔE00 4.93
Electric Purple
#AA23FF
ΔE00 5.99
Blueviolet
#8A2BE2
ΔE00 6.07
Lighter Purple
#A55AF4
ΔE00 6.30
Bluish Purple
#703BE7
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4CE6 #A5E64C
analogous
#4C58E6 #8D4CE6 #DA4CE6
triadic
#8D4CE6 #E68D4C #4CE68D
tetradic
#8D4CE6 #E64C58 #A5E64C #4CE6DA
square
#8D4CE6 #E64C58 #A5E64C #4CE6DA
split-complementary
#8D4CE6 #E6DA4C #58E64C
monochromatic
#5117A1 #6C1ED7 #8D4CE6 #AF82ED #D1B7F5
Accessibility & contrast
On white
4.87
#8D4CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#8D4CE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4CE6
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4CE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4CE6 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#787093
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8d4ce6; /* rgb */ color: rgb(141, 76, 230); /* oklch */ color: oklch(57.4% 0.221 298.5);
Tailwind
colors: {
custom: {
50: '#b582ef',
500: '#8d4ce6',
950: '#000000',
},
}SCSS
$custom: #8d4ce6; $custom-light: #b582ef; $custom-dark: #000000;
JSON
{
"hex": "#8d4ce6",
"rgb": {
"r": 141,
"g": 76,
"b": 230
},
"hsl": {
"h": 265.325,
"s": 75.49,
"l": 60
},
"oklch": {
"l": 0.57425,
"c": 0.22091,
"h": 298.5
},
"luminance": 0.16545
}Semantic roles & 50–950 ramp
primary
#8D4CE6
secondary
#CCE5A9
accent
#F236A3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85