#8D2EA8#8D2EA8
#8D2EA8 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.195 H 317.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8D2EA8 |
|---|---|
| RGB | rgb(141, 46, 168) |
| HSL | hsl(287, 57%, 42%) |
| HSV | hsv(287, 73%, 66%) |
| CMYK | cmyk(16.1%, 72.6%, 0%, 34.1%) |
| CIE-LAB | lab(38.63, 57.03, -46.69) |
| CIE-LCH | lch(38.63, 73.70, 320.69°) |
| OKLab | oklab(49.61% 0.1441 -0.1312) |
| OKLCH | oklch(49.61% 0.195 317.7) |
| XYZ | xyz(19.0284, 10.4447, 38.0519) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.31
Purply
#983FB2
ΔE00 4.35
Barney
#AC1DB8
ΔE00 5.45
Warm Purple
#952E8F
ΔE00 5.58
Barney Purple
#A00498
ΔE00 5.62
Darkorchid
#9932CC
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D2EA8 #49A82E
analogous
#502EA8 #8D2EA8 #A82E86
triadic
#8D2EA8 #A88D2E #2EA88D
tetradic
#8D2EA8 #A8502E #49A82E #2E86A8
square
#8D2EA8 #A8502E #49A82E #2E86A8
split-complementary
#8D2EA8 #86A82E #2EA850
monochromatic
#3C1448 #652178 #8D2EA8 #AF47CD #C477DA
Accessibility & contrast
On white
6.80
#8D2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8D2EA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8D2EA8
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D2EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8D2EA8 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#325EA5
Tritanopia (blue-blind)
#8C4768
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8d2ea8; /* rgb */ color: rgb(141, 46, 168); /* oklch */ color: oklch(49.6% 0.195 317.7);
Tailwind
colors: {
custom: {
50: '#b270c2',
500: '#8d2ea8',
950: '#000000',
},
}SCSS
$custom: #8d2ea8; $custom-light: #b270c2; $custom-dark: #000000;
JSON
{
"hex": "#8d2ea8",
"rgb": {
"r": 141,
"g": 46,
"b": 168
},
"hsl": {
"h": 286.721,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.49606,
"c": 0.19487,
"h": 317.7
},
"luminance": 0.10444
}Semantic roles & 50–950 ramp
primary
#8D2EA8
secondary
#82C270
accent
#E04869
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81