#8F237C#8F237C
#8F237C is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 336.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8F237C |
|---|---|
| RGB | rgb(143, 35, 124) |
| HSL | hsl(311, 61%, 35%) |
| HSV | hsv(311, 76%, 56%) |
| CMYK | cmyk(0%, 75.5%, 13.3%, 43.9%) |
| CIE-LAB | lab(35.00, 53.74, -25.54) |
| CIE-LCH | lch(35.00, 59.50, 334.58°) |
| OKLab | oklab(46.25% 0.1577 -0.0696) |
| OKLCH | oklch(46.25% 0.172 336.2) |
| XYZ | xyz(15.5671, 8.4984, 19.8854) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.86
Darkmagenta
#8B008B
ΔE00 5.15
Barney Purple
#A00498
ΔE00 5.43
Darkish Purple
#751973
ΔE00 5.76
Purple
#800080
ΔE00 5.80
Red Violet
#9E0168
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F237C #238F36
analogous
#6C238F #8F237C #8F2346
triadic
#8F237C #7C8F23 #237C8F
tetradic
#8F237C #8F6C23 #238F36 #23468F
square
#8F237C #8F6C23 #238F36 #23468F
split-complementary
#8F237C #468F23 #238F6C
monochromatic
#2D0B27 #5E1751 #8F237C #C02FA7 #D657BF
Accessibility & contrast
On white
7.78
#8F237C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#8F237C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F237C
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F237C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F237C | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#972B4D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f237c; /* rgb */ color: rgb(143, 35, 124); /* oklch */ color: oklch(46.2% 0.172 336.2);
Tailwind
colors: {
custom: {
50: '#b36aa2',
500: '#8f237c',
950: '#000000',
},
}SCSS
$custom: #8f237c; $custom-light: #b36aa2; $custom-dark: #000000;
JSON
{
"hex": "#8f237c",
"rgb": {
"r": 143,
"g": 35,
"b": 124
},
"hsl": {
"h": 310.556,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.46248,
"c": 0.17237,
"h": 336.2
},
"luminance": 0.08497
}Semantic roles & 50–950 ramp
primary
#8F237C
secondary
#54BA66
accent
#E46044
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F