#8D4CDF#8D4CDF
#8D4CDF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.213 H 299.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8D4CDF |
|---|---|
| RGB | rgb(141, 76, 223) |
| HSL | hsl(267, 70%, 59%) |
| HSV | hsv(267, 66%, 87%) |
| CMYK | cmyk(36.8%, 65.9%, 0%, 12.5%) |
| CIE-LAB | lab(47.18, 55.88, -64.90) |
| CIE-LCH | lch(47.18, 85.64, 310.73°) |
| OKLab | oklab(56.91% 0.1063 -0.1848) |
| OKLCH | oklch(56.91% 0.213 299.9) |
| XYZ | xyz(26.8849, 16.1591, 71.5003) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.71
Lightish Purple
#A552E6
ΔE00 5.02
Blueviolet
#8A2BE2
ΔE00 5.86
Darkorchid
#9932CC
ΔE00 6.03
Electric Purple
#AA23FF
ΔE00 6.34
Bluish Purple
#703BE7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D4CDF #9EDF4C
analogous
#4C54DF #8D4CDF #D74CDF
triadic
#8D4CDF #DF8D4C #4CDF8D
tetradic
#8D4CDF #DF4C54 #9EDF4C #4CDFD7
square
#8D4CDF #DF4C54 #9EDF4C #4CDFD7
split-complementary
#8D4CDF #DFD74C #54DF4C
monochromatic
#511B96 #6D24CA #8D4CDF #AE80E8 #CFB4F2
Accessibility & contrast
On white
4.96
#8D4CDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#8D4CDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D4CDF
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D4CDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D4CDF | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#7B6E8F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8d4cdf; /* rgb */ color: rgb(141, 76, 223); /* oklch */ color: oklch(56.9% 0.213 299.9);
Tailwind
colors: {
custom: {
50: '#b482ea',
500: '#8d4cdf',
950: '#000000',
},
}SCSS
$custom: #8d4cdf; $custom-light: #b482ea; $custom-dark: #000000;
JSON
{
"hex": "#8d4cdf",
"rgb": {
"r": 141,
"g": 76,
"b": 223
},
"hsl": {
"h": 266.531,
"s": 69.668,
"l": 58.627
},
"oklch": {
"l": 0.56911,
"c": 0.21323,
"h": 299.9
},
"luminance": 0.16159
}Semantic roles & 50–950 ramp
primary
#8D4CDF
secondary
#C7E0A6
accent
#EC3B9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84