#8F207B#8F207B
#8F207B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.175 H 336.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8F207B |
|---|---|
| RGB | rgb(143, 32, 123) |
| HSL | hsl(311, 63%, 34%) |
| HSV | hsv(311, 78%, 56%) |
| CMYK | cmyk(0%, 77.6%, 14%, 43.9%) |
| CIE-LAB | lab(34.61, 54.56, -25.53) |
| CIE-LCH | lch(34.61, 60.23, 334.92°) |
| OKLab | oklab(45.95% 0.1605 -0.0696) |
| OKLCH | oklch(45.95% 0.175 336.6) |
| XYZ | xyz(15.4196, 8.3042, 19.5258) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.17
Darkmagenta
#8B008B
ΔE00 5.02
Barney Purple
#A00498
ΔE00 5.48
Purple
#800080
ΔE00 5.59
Darkish Purple
#751973
ΔE00 5.59
Red Violet
#9E0168
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F207B #208F34
analogous
#6C208F #8F207B #8F2044
triadic
#8F207B #7B8F20 #207B8F
tetradic
#8F207B #8F6C20 #208F34 #20448F
square
#8F207B #8F6C20 #208F34 #20448F
split-complementary
#8F207B #448F20 #208F6C
monochromatic
#2B0A25 #5D1550 #8F207B #C12BA6 #D851C0
Accessibility & contrast
On white
7.89
#8F207B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#8F207B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F207B
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F207B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F207B | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#4A5778
Tritanopia (blue-blind)
#97284C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8f207b; /* rgb */ color: rgb(143, 32, 123); /* oklch */ color: oklch(45.9% 0.175 336.6);
Tailwind
colors: {
custom: {
50: '#b368a1',
500: '#8f207b',
950: '#000000',
},
}SCSS
$custom: #8f207b; $custom-light: #b368a1; $custom-dark: #000000;
JSON
{
"hex": "#8f207b",
"rgb": {
"r": 143,
"g": 32,
"b": 123
},
"hsl": {
"h": 310.811,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.45949,
"c": 0.17492,
"h": 336.6
},
"luminance": 0.08303
}Semantic roles & 50–950 ramp
primary
#8F207B
secondary
#4FBB63
accent
#E65F41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E