#8E2D7B#8E2D7B
#8E2D7B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.0% C 0.159 H 336.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2D7B |
|---|---|
| RGB | rgb(142, 45, 123) |
| HSL | hsl(312, 52%, 37%) |
| HSV | hsv(312, 68%, 56%) |
| CMYK | cmyk(0%, 68.3%, 13.4%, 44.3%) |
| CIE-LAB | lab(36.10, 49.60, -23.21) |
| CIE-LCH | lch(36.10, 54.77, 334.92°) |
| OKLab | oklab(46.99% 0.1455 -0.0631) |
| OKLCH | oklch(46.99% 0.159 336.6) |
| XYZ | xyz(15.6691, 9.0590, 19.6584) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.91
Light Eggplant
#894585
ΔE00 5.27
Bruise
#7E4071
ΔE00 5.59
Red Violet
#9E0168
ΔE00 6.36
Barney Purple
#A00498
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2D7B #2D8E40
analogous
#712D8E #8E2D7B #8E2D4A
triadic
#8E2D7B #7B8E2D #2D7B8E
tetradic
#8E2D7B #8E712D #2D8E40 #2D4A8E
square
#8E2D7B #8E712D #2D8E40 #2D4A8E
split-complementary
#8E2D7B #4A8E2D #2D8E71
monochromatic
#31102A #601E53 #8E2D7B #BC3CA3 #CF67BA
Accessibility & contrast
On white
7.47
#8E2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#8E2D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2D7B
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2D7B | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4B7D
Deuteranopia (green-blind)
#4E5A79
Tritanopia (blue-blind)
#953250
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8e2d7b; /* rgb */ color: rgb(142, 45, 123); /* oklch */ color: oklch(47.0% 0.159 336.6);
Tailwind
colors: {
custom: {
50: '#b26ea1',
500: '#8e2d7b',
950: '#000000',
},
}SCSS
$custom: #8e2d7b; $custom-light: #b26ea1; $custom-dark: #000000;
JSON
{
"hex": "#8e2d7b",
"rgb": {
"r": 142,
"g": 45,
"b": 123
},
"hsl": {
"h": 311.753,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.46993,
"c": 0.15854,
"h": 336.6
},
"luminance": 0.09058
}Semantic roles & 50–950 ramp
primary
#8E2D7B
secondary
#61B572
accent
#DB684C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080F
muted
#807B7E