#8D2DC3#8D2DC3
#8D2DC3 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.221 H 309.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2DC3 |
|---|---|
| RGB | rgb(141, 45, 195) |
| HSL | hsl(278, 63%, 47%) |
| HSV | hsv(278, 77%, 76%) |
| CMYK | cmyk(27.7%, 76.9%, 0%, 23.5%) |
| CIE-LAB | lab(40.38, 62.92, -59.81) |
| CIE-LCH | lch(40.38, 86.81, 316.45°) |
| OKLab | oklab(51.44% 0.141 -0.1697) |
| OKLCH | oklch(51.44% 0.221 309.7) |
| XYZ | xyz(21.7712, 11.4801, 52.6882) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.80
Darkviolet
#9400D3
ΔE00 3.31
Blueviolet
#8A2BE2
ΔE00 4.37
Violet (survey)
#9A0EEA
ΔE00 5.17
Purply
#983FB2
ΔE00 5.31
Vibrant Purple
#AD03DE
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2DC3 #63C32D
analogous
#422DC3 #8D2DC3 #C32DAE
triadic
#8D2DC3 #C38D2D #2DC38D
tetradic
#8D2DC3 #C3422D #63C32D #2DAEC3
square
#8D2DC3 #C3422D #63C32D #2DAEC3
split-complementary
#8D2DC3 #AEC32D #2DC342
monochromatic
#451660 #692291 #8D2DC3 #A955D8 #C287E3
Accessibility & contrast
On white
6.37
#8D2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#8D2DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2DC3
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2DC3 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#855277
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8d2dc3; /* rgb */ color: rgb(141, 45, 195); /* oklch */ color: oklch(51.4% 0.221 309.7);
Tailwind
colors: {
custom: {
50: '#b471d6',
500: '#8d2dc3',
950: '#000000',
},
}SCSS
$custom: #8d2dc3; $custom-light: #b471d6; $custom-dark: #000000;
JSON
{
"hex": "#8d2dc3",
"rgb": {
"r": 141,
"g": 45,
"b": 195
},
"hsl": {
"h": 278.4,
"s": 62.5,
"l": 47.059
},
"oklch": {
"l": 0.51438,
"c": 0.22061,
"h": 309.7
},
"luminance": 0.1148
}Semantic roles & 50–950 ramp
primary
#8D2DC3
secondary
#9BCD7F
accent
#E6427D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83