#8E229E#8E229E
#8E229E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.199 H 322.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8E229E |
|---|---|
| RGB | rgb(142, 34, 158) |
| HSL | hsl(292, 65%, 38%) |
| HSV | hsv(292, 78%, 62%) |
| CMYK | cmyk(10.1%, 78.5%, 0%, 38%) |
| CIE-LAB | lab(36.68, 59.53, -43.80) |
| CIE-LCH | lch(36.68, 73.91, 323.66°) |
| OKLab | oklab(48.05% 0.1574 -0.1226) |
| OKLCH | oklch(48.05% 0.199 322.1) |
| XYZ | xyz(17.8983, 9.3645, 33.2059) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.37
Barney Purple
#A00498
ΔE00 3.88
Darkmagenta
#8B008B
ΔE00 4.21
Warm Purple
#952E8F
ΔE00 4.46
Barney
#AC1DB8
ΔE00 6.18
Purple
#800080
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E229E #329E22
analogous
#50229E #8E229E #9E2270
triadic
#8E229E #9E8E22 #229E8E
tetradic
#8E229E #9E5022 #329E22 #22709E
square
#8E229E #9E5022 #329E22 #22709E
split-complementary
#8E229E #709E22 #229E50
monochromatic
#330C39 #61176C #8E229E #BB2DD0 #CC5EDC
Accessibility & contrast
On white
7.31
#8E229E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8E229E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E229E
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E229E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E229E | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#355A9B
Tritanopia (blue-blind)
#903B60
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8e229e; /* rgb */ color: rgb(142, 34, 158); /* oklch */ color: oklch(48.0% 0.199 322.1);
Tailwind
colors: {
custom: {
50: '#b36bbb',
500: '#8e229e',
950: '#000000',
},
}SCSS
$custom: #8e229e; $custom-light: #b36bbb; $custom-dark: #000000;
JSON
{
"hex": "#8e229e",
"rgb": {
"r": 142,
"g": 34,
"b": 158
},
"hsl": {
"h": 292.258,
"s": 64.583,
"l": 37.647
},
"oklch": {
"l": 0.48045,
"c": 0.19949,
"h": 322.1
},
"luminance": 0.09363
}Semantic roles & 50–950 ramp
primary
#8E229E
secondary
#68C15B
accent
#E84056
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81