#8F197C#8F197C
#8F197C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 336.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8F197C |
|---|---|
| RGB | rgb(143, 25, 124) |
| HSL | hsl(310, 70%, 33%) |
| HSV | hsv(310, 83%, 56%) |
| CMYK | cmyk(0%, 82.5%, 13.3%, 43.9%) |
| CIE-LAB | lab(33.97, 56.70, -27.16) |
| CIE-LCH | lch(33.97, 62.87, 334.40°) |
| OKLab | oklab(45.5% 0.1665 -0.0742) |
| OKLCH | oklch(45.5% 0.182 336) |
| XYZ | xyz(15.3137, 7.9916, 19.8009) |
| Luminance | 0.0799 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.26
Warm Purple
#952E8F
ΔE00 4.41
Purple
#800080
ΔE00 4.83
Barney Purple
#A00498
ΔE00 5.13
Darkish Purple
#751973
ΔE00 5.18
Red Violet
#9E0168
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F197C #198F2C
analogous
#67198F #8F197C #8F1941
triadic
#8F197C #7C8F19 #197C8F
tetradic
#8F197C #8F6719 #198F2C #19418F
square
#8F197C #8F6719 #198F2C #19418F
split-complementary
#8F197C #418F19 #198F67
monochromatic
#270722 #5B104F #8F197C #C322A9 #DE44C5
Accessibility & contrast
On white
8.08
#8F197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#8F197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F197C
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F197C | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#97244A
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8f197c; /* rgb */ color: rgb(143, 25, 124); /* oklch */ color: oklch(45.5% 0.182 336.0);
Tailwind
colors: {
custom: {
50: '#b466a2',
500: '#8f197c',
950: '#000000',
},
}SCSS
$custom: #8f197c; $custom-light: #b466a2; $custom-dark: #000000;
JSON
{
"hex": "#8f197c",
"rgb": {
"r": 143,
"g": 25,
"b": 124
},
"hsl": {
"h": 309.661,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.45504,
"c": 0.18232,
"h": 336
},
"luminance": 0.0799
}Semantic roles & 50–950 ramp
primary
#8F197C
secondary
#44BF58
accent
#ED573B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F