#8F2279#8F2279
#8F2279 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.171 H 337.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2279 |
|---|---|
| RGB | rgb(143, 34, 121) |
| HSL | hsl(312, 62%, 35%) |
| HSV | hsv(312, 76%, 56%) |
| CMYK | cmyk(0%, 76.2%, 15.4%, 43.9%) |
| CIE-LAB | lab(34.73, 53.62, -24.08) |
| CIE-LCH | lch(34.73, 58.78, 335.82°) |
| OKLab | oklab(46.01% 0.1584 -0.0654) |
| OKLCH | oklch(46.01% 0.171 337.5) |
| XYZ | xyz(15.3512, 8.3656, 18.8917) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.44
Darkmagenta
#8B008B
ΔE00 5.59
Red Violet
#9E0168
ΔE00 5.61
Darkish Purple
#751973
ΔE00 5.87
Barney Purple
#A00498
ΔE00 5.94
Purple
#800080
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2279 #228F38
analogous
#6F228F #8F2279 #8F2243
triadic
#8F2279 #798F22 #22798F
tetradic
#8F2279 #8F6F22 #228F38 #22438F
square
#8F2279 #8F6F22 #228F38 #22438F
split-complementary
#8F2279 #438F22 #228F6F
monochromatic
#2C0A25 #5E164F #8F2279 #C02EA3 #D755BC
Accessibility & contrast
On white
7.86
#8F2279 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#8F2279 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2279
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2279 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2279 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26477B
Deuteranopia (green-blind)
#4B5876
Tritanopia (blue-blind)
#97284B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f2279; /* rgb */ color: rgb(143, 34, 121); /* oklch */ color: oklch(46.0% 0.171 337.5);
Tailwind
colors: {
custom: {
50: '#b369a0',
500: '#8f2279',
950: '#000000',
},
}SCSS
$custom: #8f2279; $custom-light: #b369a0; $custom-dark: #000000;
JSON
{
"hex": "#8f2279",
"rgb": {
"r": 143,
"g": 34,
"b": 121
},
"hsl": {
"h": 312.11,
"s": 61.582,
"l": 34.706
},
"oklch": {
"l": 0.46006,
"c": 0.17135,
"h": 337.5
},
"luminance": 0.08364
}Semantic roles & 50–950 ramp
primary
#8F2279
secondary
#52BA67
accent
#E56443
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E