#8F167C#8F167C
#8F167C is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.185 H 335.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8F167C |
|---|---|
| RGB | rgb(143, 22, 124) |
| HSL | hsl(309, 73%, 32%) |
| HSV | hsv(309, 85%, 56%) |
| CMYK | cmyk(0%, 84.6%, 13.3%, 43.9%) |
| CIE-LAB | lab(33.71, 57.44, -27.56) |
| CIE-LCH | lch(33.71, 63.71, 334.37°) |
| OKLab | oklab(45.32% 0.1687 -0.0753) |
| OKLCH | oklch(45.32% 0.185 335.9) |
| XYZ | xyz(15.2530, 7.8702, 19.7807) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.07
Warm Purple
#952E8F
ΔE00 4.58
Purple
#800080
ΔE00 4.61
Darkish Purple
#751973
ΔE00 5.07
Barney Purple
#A00498
ΔE00 5.10
Red Violet
#9E0168
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F167C #168F29
analogous
#65168F #8F167C #8F1640
triadic
#8F167C #7C8F16 #167C8F
tetradic
#8F167C #8F6516 #168F29 #16408F
square
#8F167C #8F6516 #168F29 #16408F
split-complementary
#8F167C #408F16 #168F65
monochromatic
#250620 #5A0E4E #8F167C #C41EAA #E13EC8
Accessibility & contrast
On white
8.16
#8F167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#8F167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F167C
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F167C | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18447F
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#97224A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8f167c; /* rgb */ color: rgb(143, 22, 124); /* oklch */ color: oklch(45.3% 0.185 335.9);
Tailwind
colors: {
custom: {
50: '#b465a2',
500: '#8f167c',
950: '#000000',
},
}SCSS
$custom: #8f167c; $custom-light: #b465a2; $custom-dark: #000000;
JSON
{
"hex": "#8f167c",
"rgb": {
"r": 143,
"g": 22,
"b": 124
},
"hsl": {
"h": 309.421,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.45322,
"c": 0.18479,
"h": 335.9
},
"luminance": 0.07869
}Semantic roles & 50–950 ramp
primary
#8F167C
secondary
#3FC154
accent
#F05538
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12060F
muted
#817A7F