#8F2EA4#8F2EA4
#8F2EA4 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.192 H 319.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2EA4 |
|---|---|
| RGB | rgb(143, 46, 164) |
| HSL | hsl(289, 56%, 41%) |
| HSV | hsv(289, 72%, 64%) |
| CMYK | cmyk(12.8%, 72%, 0%, 35.7%) |
| CIE-LAB | lab(38.68, 56.68, -44.19) |
| CIE-LCH | lch(38.68, 71.87, 322.06°) |
| OKLab | oklab(49.62% 0.1469 -0.1238) |
| OKLCH | oklch(49.62% 0.192 319.9) |
| XYZ | xyz(19.0047, 10.4749, 36.1356) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.35
Purple (survey)
#7E1E9C
ΔE00 4.54
Warm Purple
#952E8F
ΔE00 4.67
Barney Purple
#A00498
ΔE00 4.91
Barney
#AC1DB8
ΔE00 5.28
Medium Purple
#9E43A2
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2EA4 #43A42E
analogous
#542EA4 #8F2EA4 #A42E7E
triadic
#8F2EA4 #A48F2E #2EA48F
tetradic
#8F2EA4 #A4542E #43A42E #2E7EA4
square
#8F2EA4 #A4542E #43A42E #2E7EA4
split-complementary
#8F2EA4 #7EA42E #2EA454
monochromatic
#3C1344 #652174 #8F2EA4 #B345CB #C674D8
Accessibility & contrast
On white
6.79
#8F2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#8F2EA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F2EA4
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2EA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2EA4 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#385EA1
Tritanopia (blue-blind)
#8F4566
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #8f2ea4; /* rgb */ color: rgb(143, 46, 164); /* oklch */ color: oklch(49.6% 0.192 319.9);
Tailwind
colors: {
custom: {
50: '#b370bf',
500: '#8f2ea4',
950: '#000000',
},
}SCSS
$custom: #8f2ea4; $custom-light: #b370bf; $custom-dark: #000000;
JSON
{
"hex": "#8f2ea4",
"rgb": {
"r": 143,
"g": 46,
"b": 164
},
"hsl": {
"h": 289.322,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.49624,
"c": 0.19209,
"h": 319.9
},
"luminance": 0.10474
}Semantic roles & 50–950 ramp
primary
#8F2EA4
secondary
#7DC06E
accent
#DF4863
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81