#8F307D#8F307D
#8F307D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.157 H 336.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8F307D |
|---|---|
| RGB | rgb(143, 48, 125) |
| HSL | hsl(311, 50%, 37%) |
| HSV | hsv(311, 66%, 56%) |
| CMYK | cmyk(0%, 66.4%, 12.6%, 43.9%) |
| CIE-LAB | lab(36.81, 48.95, -23.34) |
| CIE-LCH | lch(36.81, 54.23, 334.51°) |
| OKLab | oklab(47.58% 0.1431 -0.0634) |
| OKLCH | oklch(47.58% 0.157 336.1) |
| XYZ | xyz(16.0865, 9.4356, 20.3721) |
| Luminance | 0.0943 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.61
Light Eggplant
#894585
ΔE00 4.72
Bruise
#7E4071
ΔE00 5.42
Barney Purple
#A00498
ΔE00 6.35
Red Violet
#9E0168
ΔE00 6.71
Darkmagenta
#8B008B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F307D #308F42
analogous
#71308F #8F307D #8F304E
triadic
#8F307D #7D8F30 #307D8F
tetradic
#8F307D #8F7130 #308F42 #304E8F
square
#8F307D #8F7130 #308F42 #304E8F
split-complementary
#8F307D #4E8F30 #308F71
monochromatic
#33112D #612155 #8F307D #BD3FA5 #CE6CBB
Accessibility & contrast
On white
7.27
#8F307D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#8F307D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F307D
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F307D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F307D | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#963652
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8f307d; /* rgb */ color: rgb(143, 48, 125); /* oklch */ color: oklch(47.6% 0.157 336.1);
Tailwind
colors: {
custom: {
50: '#b370a3',
500: '#8f307d',
950: '#000000',
},
}SCSS
$custom: #8f307d; $custom-light: #b370a3; $custom-dark: #000000;
JSON
{
"hex": "#8f307d",
"rgb": {
"r": 143,
"g": 48,
"b": 125
},
"hsl": {
"h": 311.368,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.47576,
"c": 0.15656,
"h": 336.1
},
"luminance": 0.09434
}Semantic roles & 50–950 ramp
primary
#8F307D
secondary
#66B575
accent
#D9694F
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F