#8F257A#8F257A
#8F257A is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.169 H 337.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8F257A |
|---|---|
| RGB | rgb(143, 37, 122) |
| HSL | hsl(312, 59%, 35%) |
| HSV | hsv(312, 74%, 56%) |
| CMYK | cmyk(0%, 74.1%, 14.7%, 43.9%) |
| CIE-LAB | lab(35.14, 52.75, -24.07) |
| CIE-LCH | lch(35.14, 57.98, 335.47°) |
| OKLab | oklab(46.32% 0.1554 -0.0654) |
| OKLCH | oklch(46.32% 0.169 337.2) |
| XYZ | xyz(15.5024, 8.5693, 19.2462) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.16
Darkmagenta
#8B008B
ΔE00 5.73
Red Violet
#9E0168
ΔE00 5.81
Barney Purple
#A00498
ΔE00 5.91
Darkish Purple
#751973
ΔE00 6.05
Purple
#800080
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F257A #258F3A
analogous
#6F258F #8F257A #8F2545
triadic
#8F257A #7A8F25 #257A8F
tetradic
#8F257A #8F6F25 #258F3A #25458F
square
#8F257A #8F6F25 #258F3A #25458F
split-complementary
#8F257A #458F25 #258F6F
monochromatic
#2E0C27 #5E1851 #8F257A #C032A3 #D45ABC
Accessibility & contrast
On white
7.74
#8F257A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8F257A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F257A
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F257A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F257A | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28487C
Deuteranopia (green-blind)
#4C5877
Tritanopia (blue-blind)
#972B4C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8f257a; /* rgb */ color: rgb(143, 37, 122); /* oklch */ color: oklch(46.3% 0.169 337.2);
Tailwind
colors: {
custom: {
50: '#b36aa0',
500: '#8f257a',
950: '#000000',
},
}SCSS
$custom: #8f257a; $custom-light: #b36aa0; $custom-dark: #000000;
JSON
{
"hex": "#8f257a",
"rgb": {
"r": 143,
"g": 37,
"b": 122
},
"hsl": {
"h": 311.887,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.46317,
"c": 0.16864,
"h": 337.2
},
"luminance": 0.08568
}Semantic roles & 50–950 ramp
primary
#8F257A
secondary
#57B96A
accent
#E26546
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E