#8D2EC2#8D2EC2
#8D2EC2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.5% C 0.219 H 309.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2EC2 |
|---|---|
| RGB | rgb(141, 46, 194) |
| HSL | hsl(279, 62%, 47%) |
| HSV | hsv(279, 76%, 76%) |
| CMYK | cmyk(27.3%, 76.3%, 0%, 23.9%) |
| CIE-LAB | lab(40.43, 62.35, -59.15) |
| CIE-LCH | lch(40.43, 85.94, 316.51°) |
| OKLab | oklab(51.45% 0.1403 -0.1677) |
| OKLCH | oklch(51.45% 0.219 309.9) |
| XYZ | xyz(21.6972, 11.5122, 52.1076) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.77
Darkviolet
#9400D3
ΔE00 3.49
Blueviolet
#8A2BE2
ΔE00 4.51
Purply
#983FB2
ΔE00 5.14
Violet (survey)
#9A0EEA
ΔE00 5.31
Vibrant Purple
#AD03DE
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2EC2 #63C22E
analogous
#432EC2 #8D2EC2 #C22EAD
triadic
#8D2EC2 #C28D2E #2EC28D
tetradic
#8D2EC2 #C2432E #63C22E #2EADC2
square
#8D2EC2 #C2432E #63C22E #2EADC2
split-complementary
#8D2EC2 #ADC22E #2EC243
monochromatic
#45175F #692291 #8D2EC2 #A956D7 #C288E3
Accessibility & contrast
On white
6.36
#8D2EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#8D2EC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2EC2
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2EC2 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#855277
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #8d2ec2; /* rgb */ color: rgb(141, 46, 194); /* oklch */ color: oklch(51.5% 0.219 309.9);
Tailwind
colors: {
custom: {
50: '#b371d5',
500: '#8d2ec2',
950: '#000000',
},
}SCSS
$custom: #8d2ec2; $custom-light: #b371d5; $custom-dark: #000000;
JSON
{
"hex": "#8d2ec2",
"rgb": {
"r": 141,
"g": 46,
"b": 194
},
"hsl": {
"h": 278.514,
"s": 61.667,
"l": 47.059
},
"oklch": {
"l": 0.51452,
"c": 0.21867,
"h": 309.9
},
"luminance": 0.11512
}Semantic roles & 50–950 ramp
primary
#8D2EC2
secondary
#9BCC7F
accent
#E5437D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83