#8D2BA6#8D2BA6
#8D2BA6 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.197 H 318.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2BA6 |
|---|---|
| RGB | rgb(141, 43, 166) |
| HSL | hsl(288, 59%, 41%) |
| HSV | hsv(288, 74%, 65%) |
| CMYK | cmyk(15.1%, 74.1%, 0%, 34.9%) |
| CIE-LAB | lab(38.10, 57.77, -46.34) |
| CIE-LCH | lch(38.10, 74.06, 321.27°) |
| OKLab | oklab(49.19% 0.1473 -0.1301) |
| OKLCH | oklch(49.19% 0.197 318.5) |
| XYZ | xyz(18.7304, 10.1445, 37.0405) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.90
Purply
#983FB2
ΔE00 4.83
Barney Purple
#A00498
ΔE00 5.22
Warm Purple
#952E8F
ΔE00 5.35
Barney
#AC1DB8
ΔE00 5.58
Darkmagenta
#8B008B
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2BA6 #44A62B
analogous
#4F2BA6 #8D2BA6 #A62B81
triadic
#8D2BA6 #A68D2B #2BA68D
tetradic
#8D2BA6 #A64F2B #44A62B #2B81A6
square
#8D2BA6 #A64F2B #44A62B #2B81A6
split-complementary
#8D2BA6 #81A62B #2BA64F
monochromatic
#3A1245 #641E75 #8D2BA6 #B141CE #C571DA
Accessibility & contrast
On white
6.93
#8D2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#8D2BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2BA6
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2BA6 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#325DA3
Tritanopia (blue-blind)
#8D4466
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8d2ba6; /* rgb */ color: rgb(141, 43, 166); /* oklch */ color: oklch(49.2% 0.197 318.5);
Tailwind
colors: {
custom: {
50: '#b26ec1',
500: '#8d2ba6',
950: '#000000',
},
}SCSS
$custom: #8d2ba6; $custom-light: #b26ec1; $custom-dark: #000000;
JSON
{
"hex": "#8d2ba6",
"rgb": {
"r": 141,
"g": 43,
"b": 166
},
"hsl": {
"h": 287.805,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.49189,
"c": 0.19651,
"h": 318.5
},
"luminance": 0.10144
}Semantic roles & 50–950 ramp
primary
#8D2BA6
secondary
#7DC16B
accent
#E24666
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81