#8D2CAB#8D2CAB
#8D2CAB is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.200 H 316.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2CAB |
|---|---|
| RGB | rgb(141, 44, 171) |
| HSL | hsl(286, 59%, 42%) |
| HSV | hsv(286, 74%, 67%) |
| CMYK | cmyk(17.5%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(38.56, 58.38, -48.59) |
| CIE-LCH | lch(38.56, 75.96, 320.23°) |
| OKLab | oklab(49.62% 0.1458 -0.1367) |
| OKLCH | oklch(49.62% 0.2 316.8) |
| XYZ | xyz(19.2348, 10.4052, 39.5154) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.24
Purply
#983FB2
ΔE00 4.53
Barney
#AC1DB8
ΔE00 5.43
Darkorchid
#9932CC
ΔE00 5.47
Barney Purple
#A00498
ΔE00 5.87
Darkviolet
#9400D3
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2CAB #4AAB2C
analogous
#4E2CAB #8D2CAB #AB2C8A
triadic
#8D2CAB #AB8D2C #2CAB8D
tetradic
#8D2CAB #AB4E2C #4AAB2C #2C8AAB
square
#8D2CAB #AB4E2C #4AAB2C #2C8AAB
split-complementary
#8D2CAB #8AAB2C #2CAB4E
monochromatic
#3D134A #651F7A #8D2CAB #AF45CF #C476DC
Accessibility & contrast
On white
6.82
#8D2CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#8D2CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2CAB
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2CAB | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#2D5EA8
Tritanopia (blue-blind)
#8B4769
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8d2cab; /* rgb */ color: rgb(141, 44, 171); /* oklch */ color: oklch(49.6% 0.200 316.8);
Tailwind
colors: {
custom: {
50: '#b26fc5',
500: '#8d2cab',
950: '#000000',
},
}SCSS
$custom: #8d2cab; $custom-light: #b26fc5; $custom-dark: #000000;
JSON
{
"hex": "#8d2cab",
"rgb": {
"r": 141,
"g": 44,
"b": 171
},
"hsl": {
"h": 285.827,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.4962,
"c": 0.19985,
"h": 316.8
},
"luminance": 0.10404
}Semantic roles & 50–950 ramp
primary
#8D2CAB
secondary
#83C36F
accent
#E2466B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82