#8F2685#8F2685
#8F2685 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.176 H 332.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2685 |
|---|---|
| RGB | rgb(143, 38, 133) |
| HSL | hsl(306, 58%, 35%) |
| HSV | hsv(306, 73%, 56%) |
| CMYK | cmyk(0%, 73.4%, 7%, 43.9%) |
| CIE-LAB | lab(35.83, 54.12, -29.84) |
| CIE-LCH | lch(35.83, 61.80, 331.13°) |
| OKLab | oklab(47% 0.1554 -0.082) |
| OKLCH | oklch(47% 0.176 332.2) |
| XYZ | xyz(16.2545, 8.9206, 23.0515) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.34
Barney Purple
#A00498
ΔE00 4.17
Darkmagenta
#8B008B
ΔE00 4.21
Purple
#800080
ΔE00 5.41
Darkish Purple
#751973
ΔE00 5.91
Light Eggplant
#894585
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2685 #268F30
analogous
#64268F #8F2685 #8F2651
triadic
#8F2685 #858F26 #26858F
tetradic
#8F2685 #8F6426 #268F30 #26518F
square
#8F2685 #8F6426 #268F30 #26518F
split-complementary
#8F2685 #518F26 #268F64
monochromatic
#2E0C2B #5F1958 #8F2685 #BF33B2 #D45CC8
Accessibility & contrast
On white
7.54
#8F2685 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#8F2685 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2685
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2685 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2685 | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204B88
Deuteranopia (green-blind)
#485A82
Tritanopia (blue-blind)
#953153
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8f2685; /* rgb */ color: rgb(143, 38, 133); /* oklch */ color: oklch(47.0% 0.176 332.2);
Tailwind
colors: {
custom: {
50: '#b36ba9',
500: '#8f2685',
950: '#000000',
},
}SCSS
$custom: #8f2685; $custom-light: #b36ba9; $custom-dark: #000000;
JSON
{
"hex": "#8f2685",
"rgb": {
"r": 143,
"g": 38,
"b": 133
},
"hsl": {
"h": 305.714,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.46998,
"c": 0.17567,
"h": 332.2
},
"luminance": 0.08919
}Semantic roles & 50–950 ramp
primary
#8F2685
secondary
#58B961
accent
#E15547
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F