#8F2799#8F2799
#8F2799 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 324.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2799 |
|---|---|
| RGB | rgb(143, 39, 153) |
| HSL | hsl(295, 59%, 38%) |
| HSV | hsv(295, 75%, 60%) |
| CMYK | cmyk(6.5%, 74.5%, 0%, 40%) |
| CIE-LAB | lab(37.10, 57.20, -40.08) |
| CIE-LCH | lch(37.10, 69.85, 324.98°) |
| OKLab | oklab(48.28% 0.1544 -0.1117) |
| OKLCH | oklch(48.28% 0.191 324.1) |
| XYZ | xyz(17.8025, 9.5917, 31.0445) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.22
Barney Purple
#A00498
ΔE00 3.46
Darkmagenta
#8B008B
ΔE00 4.19
Purple (survey)
#7E1E9C
ΔE00 4.28
Purply
#983FB2
ΔE00 6.16
Purple
#800080
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2799 #319927
analogous
#562799 #8F2799 #99276A
triadic
#8F2799 #998F27 #27998F
tetradic
#8F2799 #995627 #319927 #276A99
square
#8F2799 #995627 #319927 #276A99
split-complementary
#8F2799 #6A9927 #279956
monochromatic
#340E37 #611B68 #8F2799 #BD33CA #CD63D7
Accessibility & contrast
On white
7.20
#8F2799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#8F2799 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2799
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2799 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#923B5E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8f2799; /* rgb */ color: rgb(143, 39, 153); /* oklch */ color: oklch(48.3% 0.191 324.1);
Tailwind
colors: {
custom: {
50: '#b36cb7',
500: '#8f2799',
950: '#000000',
},
}SCSS
$custom: #8f2799; $custom-light: #b36cb7; $custom-dark: #000000;
JSON
{
"hex": "#8f2799",
"rgb": {
"r": 143,
"g": 39,
"b": 153
},
"hsl": {
"h": 294.737,
"s": 59.375,
"l": 37.647
},
"oklch": {
"l": 0.48277,
"c": 0.19063,
"h": 324.1
},
"luminance": 0.09591
}Semantic roles & 50–950 ramp
primary
#8F2799
secondary
#67BD5F
accent
#E34553
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80