#8F2D7B#8F2D7B
#8F2D7B is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.159 H 337.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2D7B |
|---|---|
| RGB | rgb(143, 45, 123) |
| HSL | hsl(312, 52%, 37%) |
| HSV | hsv(312, 69%, 56%) |
| CMYK | cmyk(0%, 68.5%, 14%, 43.9%) |
| CIE-LAB | lab(36.27, 49.87, -22.94) |
| CIE-LCH | lch(36.27, 54.89, 335.30°) |
| OKLab | oklab(47.15% 0.1465 -0.0623) |
| OKLCH | oklch(47.15% 0.159 337) |
| XYZ | xyz(15.8415, 9.1479, 19.6664) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.94
Light Eggplant
#894585
ΔE00 5.29
Bruise
#7E4071
ΔE00 5.63
Red Violet
#9E0168
ΔE00 6.22
Barney Purple
#A00498
ΔE00 6.38
Darkmagenta
#8B008B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2D7B #2D8F41
analogous
#722D8F #8F2D7B #8F2D4A
triadic
#8F2D7B #7B8F2D #2D7B8F
tetradic
#8F2D7B #8F722D #2D8F41 #2D4A8F
square
#8F2D7B #8F722D #2D8F41 #2D4A8F
split-complementary
#8F2D7B #4A8F2D #2D8F72
monochromatic
#32102B #601E53 #8F2D7B #BE3CA3 #CF67BA
Accessibility & contrast
On white
7.42
#8F2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#8F2D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2D7B
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2D7B | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#973250
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #8f2d7b; /* rgb */ color: rgb(143, 45, 123); /* oklch */ color: oklch(47.1% 0.159 337.0);
Tailwind
colors: {
custom: {
50: '#b36ea1',
500: '#8f2d7b',
950: '#000000',
},
}SCSS
$custom: #8f2d7b; $custom-light: #b36ea1; $custom-dark: #000000;
JSON
{
"hex": "#8f2d7b",
"rgb": {
"r": 143,
"g": 45,
"b": 123
},
"hsl": {
"h": 312.245,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.4715,
"c": 0.1592,
"h": 337
},
"luminance": 0.09146
}Semantic roles & 50–950 ramp
primary
#8F2D7B
secondary
#62B673
accent
#DC694C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080F
muted
#807B7E