#8E259E#8E259E
#8E259E is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.197 H 322.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8E259E |
|---|---|
| RGB | rgb(142, 37, 158) |
| HSL | hsl(292, 62%, 38%) |
| HSV | hsv(292, 77%, 62%) |
| CMYK | cmyk(10.1%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(37.01, 58.57, -43.26) |
| CIE-LCH | lch(37.01, 72.82, 323.55°) |
| OKLab | oklab(48.28% 0.1548 -0.1211) |
| OKLCH | oklch(48.28% 0.197 322) |
| XYZ | xyz(17.9878, 9.5436, 33.2358) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.58
Barney Purple
#A00498
ΔE00 3.95
Warm Purple
#952E8F
ΔE00 4.26
Darkmagenta
#8B008B
ΔE00 4.47
Purply
#983FB2
ΔE00 5.96
Barney
#AC1DB8
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E259E #359E25
analogous
#51259E #8E259E #9E2571
triadic
#8E259E #9E8E25 #259E8E
tetradic
#8E259E #9E5125 #359E25 #25719E
square
#8E259E #9E5125 #359E25 #25719E
split-complementary
#8E259E #719E25 #259E51
monochromatic
#350E3B #61196C #8E259E #BA31CF #CB63DA
Accessibility & contrast
On white
7.22
#8E259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#8E259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E259E
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E259E | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#365B9B
Tritanopia (blue-blind)
#903D60
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8e259e; /* rgb */ color: rgb(142, 37, 158); /* oklch */ color: oklch(48.3% 0.197 322.0);
Tailwind
colors: {
custom: {
50: '#b36cbb',
500: '#8e259e',
950: '#000000',
},
}SCSS
$custom: #8e259e; $custom-light: #b36cbb; $custom-dark: #000000;
JSON
{
"hex": "#8e259e",
"rgb": {
"r": 142,
"g": 37,
"b": 158
},
"hsl": {
"h": 292.066,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.48281,
"c": 0.1965,
"h": 322
},
"luminance": 0.09543
}Semantic roles & 50–950 ramp
primary
#8E259E
secondary
#6CC05F
accent
#E54358
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81