#8F337D#8F337D
#8F337D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.9% C 0.152 H 336.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #8F337D |
|---|---|
| RGB | rgb(143, 51, 125) |
| HSL | hsl(312, 47%, 38%) |
| HSV | hsv(312, 64%, 56%) |
| CMYK | cmyk(0%, 64.3%, 12.6%, 43.9%) |
| CIE-LAB | lab(37.28, 47.65, -22.61) |
| CIE-LCH | lch(37.28, 52.74, 334.62°) |
| OKLab | oklab(47.92% 0.1393 -0.0614) |
| OKLCH | oklch(47.92% 0.152 336.2) |
| XYZ | xyz(16.2134, 9.6893, 20.4144) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.81
Light Eggplant
#894585
ΔE00 4.25
Bruise
#7E4071
ΔE00 5.02
Barney Purple
#A00498
ΔE00 6.74
Red Violet
#9E0168
ΔE00 6.92
Darkmagenta
#8B008B
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F337D #338F45
analogous
#73338F #8F337D #8F334F
triadic
#8F337D #7D8F33 #337D8F
tetradic
#8F337D #8F7333 #338F45 #334F8F
square
#8F337D #8F7333 #338F45 #334F8F
split-complementary
#8F337D #4F8F33 #338F73
monochromatic
#35132E #622356 #8F337D #BC43A4 #CC70BA
Accessibility & contrast
On white
7.15
#8F337D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#8F337D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F337D
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F337D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F337D | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#963853
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8f337d; /* rgb */ color: rgb(143, 51, 125); /* oklch */ color: oklch(47.9% 0.152 336.2);
Tailwind
colors: {
custom: {
50: '#b371a3',
500: '#8f337d',
950: '#000000',
},
}SCSS
$custom: #8f337d; $custom-light: #b371a3; $custom-dark: #000000;
JSON
{
"hex": "#8f337d",
"rgb": {
"r": 143,
"g": 51,
"b": 125
},
"hsl": {
"h": 311.739,
"s": 47.423,
"l": 38.039
},
"oklch": {
"l": 0.47918,
"c": 0.15222,
"h": 336.2
},
"luminance": 0.09688
}Semantic roles & 50–950 ramp
primary
#8F337D
secondary
#6AB478
accent
#D76B51
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F