#8F247C#8F247C
#8F247C is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.3% C 0.171 H 336.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8F247C |
|---|---|
| RGB | rgb(143, 36, 124) |
| HSL | hsl(311, 60%, 35%) |
| HSV | hsv(311, 75%, 56%) |
| CMYK | cmyk(0%, 74.8%, 13.3%, 43.9%) |
| CIE-LAB | lab(35.12, 53.40, -25.35) |
| CIE-LCH | lch(35.12, 59.11, 334.60°) |
| OKLab | oklab(46.33% 0.1567 -0.0691) |
| OKLCH | oklch(46.33% 0.171 336.2) |
| XYZ | xyz(15.5969, 8.5580, 19.8953) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.82
Darkmagenta
#8B008B
ΔE00 5.26
Barney Purple
#A00498
ΔE00 5.48
Darkish Purple
#751973
ΔE00 5.84
Purple
#800080
ΔE00 5.92
Red Violet
#9E0168
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F247C #248F37
analogous
#6C248F #8F247C #8F2447
triadic
#8F247C #7C8F24 #247C8F
tetradic
#8F247C #8F6C24 #248F37 #24478F
square
#8F247C #8F6C24 #248F37 #24478F
split-complementary
#8F247C #478F24 #248F6C
monochromatic
#2D0B27 #5E1852 #8F247C #C030A6 #D558BF
Accessibility & contrast
On white
7.75
#8F247C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#8F247C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F247C
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F247C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F247C | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26487E
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#972B4D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #8f247c; /* rgb */ color: rgb(143, 36, 124); /* oklch */ color: oklch(46.3% 0.171 336.2);
Tailwind
colors: {
custom: {
50: '#b36aa2',
500: '#8f247c',
950: '#000000',
},
}SCSS
$custom: #8f247c; $custom-light: #b36aa2; $custom-dark: #000000;
JSON
{
"hex": "#8f247c",
"rgb": {
"r": 143,
"g": 36,
"b": 124
},
"hsl": {
"h": 310.654,
"s": 59.777,
"l": 35.098
},
"oklch": {
"l": 0.46333,
"c": 0.17124,
"h": 336.2
},
"luminance": 0.08557
}Semantic roles & 50–950 ramp
primary
#8F247C
secondary
#55B967
accent
#E36145
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F