#8D1CD2#8D1CD2
#8D1CD2 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.4% C 0.247 H 306.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #8D1CD2 |
|---|---|
| RGB | rgb(141, 28, 210) |
| HSL | hsl(277, 76%, 47%) |
| HSV | hsv(277, 87%, 82%) |
| CMYK | cmyk(32.9%, 86.7%, 0%, 17.6%) |
| CIE-LAB | lab(39.83, 71.08, -69.43) |
| CIE-LCH | lch(39.83, 99.36, 315.68°) |
| OKLab | oklab(51.42% 0.1485 -0.1978) |
| OKLCH | oklch(51.42% 0.247 306.9) |
| XYZ | xyz(23.0301, 11.1466, 61.8985) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 1.45
Blueviolet
#8A2BE2
ΔE00 3.02
Violet (survey)
#9A0EEA
ΔE00 3.52
Darkorchid
#9932CC
ΔE00 4.02
Vivid Purple
#9900FA
ΔE00 5.12
Vibrant Purple
#AD03DE
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D1CD2 #61D21C
analogous
#321CD2 #8D1CD2 #D21CBC
triadic
#8D1CD2 #D28D1C #1CD28D
tetradic
#8D1CD2 #D2321C #61D21C #1CBCD2
square
#8D1CD2 #D2321C #61D21C #1CBCD2
split-complementary
#8D1CD2 #BCD21C #1CD232
monochromatic
#440E66 #69159C #8D1CD2 #A945E6 #C27BED
Accessibility & contrast
On white
6.50
#8D1CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#8D1CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D1CD2
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D1CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D1CD2 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BD7
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#81527D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #8d1cd2; /* rgb */ color: rgb(141, 28, 210); /* oklch */ color: oklch(51.4% 0.247 306.9);
Tailwind
colors: {
custom: {
50: '#b56be1',
500: '#8d1cd2',
950: '#000000',
},
}SCSS
$custom: #8d1cd2; $custom-light: #b56be1; $custom-dark: #000000;
JSON
{
"hex": "#8d1cd2",
"rgb": {
"r": 141,
"g": 28,
"b": 210
},
"hsl": {
"h": 277.253,
"s": 76.471,
"l": 46.667
},
"oklch": {
"l": 0.51421,
"c": 0.24735,
"h": 306.9
},
"luminance": 0.11146
}Semantic roles & 50–950 ramp
primary
#8D1CD2
secondary
#99D575
accent
#F3357D
background
#FBF6FD
surface
#F7ECFB
border
#D0C7D4
text
#120815
muted
#817A83