#8F237A#8F237A
#8F237A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.171 H 337.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8F237A |
|---|---|
| RGB | rgb(143, 35, 122) |
| HSL | hsl(312, 61%, 35%) |
| HSV | hsv(312, 76%, 56%) |
| CMYK | cmyk(0%, 75.5%, 14.7%, 43.9%) |
| CIE-LAB | lab(34.90, 53.43, -24.45) |
| CIE-LCH | lch(34.90, 58.76, 335.42°) |
| OKLab | oklab(46.14% 0.1575 -0.0665) |
| OKLCH | oklch(46.14% 0.171 337.1) |
| XYZ | xyz(15.4419, 8.4483, 19.2260) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.22
Darkmagenta
#8B008B
ΔE00 5.51
Red Violet
#9E0168
ΔE00 5.80
Barney Purple
#A00498
ΔE00 5.80
Darkish Purple
#751973
ΔE00 5.88
Purple
#800080
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F237A #238F38
analogous
#6E238F #8F237A #8F2344
triadic
#8F237A #7A8F23 #237A8F
tetradic
#8F237A #8F6E23 #238F38 #23448F
square
#8F237A #8F6E23 #238F38 #23448F
split-complementary
#8F237A #448F23 #238F6E
monochromatic
#2D0B26 #5E1750 #8F237A #C02FA4 #D657BD
Accessibility & contrast
On white
7.81
#8F237A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#8F237A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F237A
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F237A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F237A | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26487C
Deuteranopia (green-blind)
#4B5877
Tritanopia (blue-blind)
#972A4C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f237a; /* rgb */ color: rgb(143, 35, 122); /* oklch */ color: oklch(46.1% 0.171 337.1);
Tailwind
colors: {
custom: {
50: '#b36aa0',
500: '#8f237a',
950: '#000000',
},
}SCSS
$custom: #8f237a; $custom-light: #b36aa0; $custom-dark: #000000;
JSON
{
"hex": "#8f237a",
"rgb": {
"r": 143,
"g": 35,
"b": 122
},
"hsl": {
"h": 311.667,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.46143,
"c": 0.17094,
"h": 337.1
},
"luminance": 0.08447
}Semantic roles & 50–950 ramp
primary
#8F237A
secondary
#54BA68
accent
#E46344
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E