#8F188F#8F188F
#8F188F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.197 H 328.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8F188F |
|---|---|
| RGB | rgb(143, 24, 143) |
| HSL | hsl(300, 71%, 33%) |
| HSV | hsv(300, 83%, 56%) |
| CMYK | cmyk(0%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(34.96, 59.91, -37.39) |
| CIE-LCH | lch(34.96, 70.62, 328.03°) |
| OKLab | oklab(46.56% 0.1673 -0.1038) |
| OKLCH | oklch(46.56% 0.197 328.2) |
| XYZ | xyz(16.6121, 8.4773, 26.7426) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkmagenta
#8B008B
ΔE00 2.04
Barney Purple
#A00498
ΔE00 2.99
Warm Purple
#952E8F
ΔE00 3.59
Purple
#800080
ΔE00 4.13
Purple (survey)
#7E1E9C
ΔE00 4.78
Darkish Purple
#751973
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F188F #188F18
analogous
#53188F #8F188F #8F1853
triadic
#8F188F #8F8F18 #188F8F
tetradic
#8F188F #8F5318 #188F18 #18538F
square
#8F188F #8F5318 #188F18 #18538F
split-complementary
#8F188F #538F18 #188F53
monochromatic
#260626 #5B0F5B #8F188F #C321C3 #DF42DF
Accessibility & contrast
On white
7.79
#8F188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#8F188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F188F
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F188F | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#942E55
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #8f188f; /* rgb */ color: rgb(143, 24, 143); /* oklch */ color: oklch(46.6% 0.197 328.2);
Tailwind
colors: {
custom: {
50: '#b467b0',
500: '#8f188f',
950: '#000000',
},
}SCSS
$custom: #8f188f; $custom-light: #b467b0; $custom-dark: #000000;
JSON
{
"hex": "#8f188f",
"rgb": {
"r": 143,
"g": 24,
"b": 143
},
"hsl": {
"h": 300,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.46559,
"c": 0.19689,
"h": 328.2
},
"luminance": 0.08476
}Semantic roles & 50–950 ramp
primary
#8F188F
secondary
#43C043
accent
#EE3A3A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F