#8F237D#8F237D
#8F237D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.173 H 335.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8F237D |
|---|---|
| RGB | rgb(143, 35, 125) |
| HSL | hsl(310, 61%, 35%) |
| HSV | hsv(310, 76%, 56%) |
| CMYK | cmyk(0%, 75.5%, 12.6%, 43.9%) |
| CIE-LAB | lab(35.05, 53.89, -26.09) |
| CIE-LCH | lch(35.05, 59.87, 334.17°) |
| OKLab | oklab(46.3% 0.1578 -0.0712) |
| OKLCH | oklch(46.3% 0.173 335.7) |
| XYZ | xyz(15.6306, 8.5238, 20.2201) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.69
Darkmagenta
#8B008B
ΔE00 4.98
Barney Purple
#A00498
ΔE00 5.25
Purple
#800080
ΔE00 5.68
Darkish Purple
#751973
ΔE00 5.72
Red Violet
#9E0168
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F237D #238F35
analogous
#6B238F #8F237D #8F2347
triadic
#8F237D #7D8F23 #237D8F
tetradic
#8F237D #8F6B23 #238F35 #23478F
square
#8F237D #8F6B23 #238F35 #23478F
split-complementary
#8F237D #478F23 #238F6B
monochromatic
#2D0B27 #5E1752 #8F237D #C02FA8 #D657C1
Accessibility & contrast
On white
7.77
#8F237D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#8F237D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F237D
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F237D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F237D | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#962B4E
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f237d; /* rgb */ color: rgb(143, 35, 125); /* oklch */ color: oklch(46.3% 0.173 335.7);
Tailwind
colors: {
custom: {
50: '#b36aa3',
500: '#8f237d',
950: '#000000',
},
}SCSS
$custom: #8f237d; $custom-light: #b36aa3; $custom-dark: #000000;
JSON
{
"hex": "#8f237d",
"rgb": {
"r": 143,
"g": 35,
"b": 125
},
"hsl": {
"h": 310,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.46301,
"c": 0.17311,
"h": 335.7
},
"luminance": 0.08522
}Semantic roles & 50–950 ramp
primary
#8F237D
secondary
#54BA65
accent
#E45F44
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F