#8F2AAF#8F2AAF
#8F2AAF is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.206 H 316.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2AAF |
|---|---|
| RGB | rgb(143, 42, 175) |
| HSL | hsl(286, 61%, 43%) |
| HSV | hsv(286, 76%, 69%) |
| CMYK | cmyk(18.3%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(38.88, 60.29, -50.43) |
| CIE-LCH | lch(38.88, 78.61, 320.09°) |
| OKLab | oklab(50% 0.1496 -0.1421) |
| OKLCH | oklch(50% 0.206 316.5) |
| XYZ | xyz(19.8923, 10.5915, 41.5457) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.48
Purple (survey)
#7E1E9C
ΔE00 4.59
Darkorchid
#9932CC
ΔE00 4.93
Barney
#AC1DB8
ΔE00 5.10
Darkviolet
#9400D3
ΔE00 5.40
Barney Purple
#A00498
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2AAF #4AAF2A
analogous
#4D2AAF #8F2AAF #AF2A8C
triadic
#8F2AAF #AF8F2A #2AAF8F
tetradic
#8F2AAF #AF4D2A #4AAF2A #2A8CAF
square
#8F2AAF #AF4D2A #4AAF2A #2A8CAF
split-complementary
#8F2AAF #8CAF2A #2AAF4D
monochromatic
#3E124C #671E7E #8F2AAF #B044D2 #C575DE
Accessibility & contrast
On white
6.73
#8F2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#8F2AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2AAF
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2AAF | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2A5EAC
Tritanopia (blue-blind)
#8D476B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #8f2aaf; /* rgb */ color: rgb(143, 42, 175); /* oklch */ color: oklch(50.0% 0.206 316.5);
Tailwind
colors: {
custom: {
50: '#b46fc8',
500: '#8f2aaf',
950: '#000000',
},
}SCSS
$custom: #8f2aaf; $custom-light: #b46fc8; $custom-dark: #000000;
JSON
{
"hex": "#8f2aaf",
"rgb": {
"r": 143,
"g": 42,
"b": 175
},
"hsl": {
"h": 285.564,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.49997,
"c": 0.2063,
"h": 316.5
},
"luminance": 0.10591
}Semantic roles & 50–950 ramp
primary
#8F2AAF
secondary
#84C66F
accent
#E4436A
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82