#8E229D#8E229D
#8E229D is a mid, vivid purple. Relative luminance 0.093; OKLCH L 48.0% C 0.199 H 322.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8E229D |
|---|---|
| RGB | rgb(142, 34, 157) |
| HSL | hsl(293, 64%, 37%) |
| HSV | hsv(293, 78%, 62%) |
| CMYK | cmyk(9.6%, 78.3%, 0%, 38.4%) |
| CIE-LAB | lab(36.61, 59.35, -43.30) |
| CIE-LCH | lch(36.61, 73.47, 323.89°) |
| OKLab | oklab(47.98% 0.1575 -0.1211) |
| OKLCH | oklch(47.98% 0.199 322.4) |
| XYZ | xyz(17.8125, 9.3302, 32.7544) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.42
Barney Purple
#A00498
ΔE00 3.79
Darkmagenta
#8B008B
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 4.32
Purple
#800080
ΔE00 6.08
Barney
#AC1DB8
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E229D #319D22
analogous
#51229D #8E229D #9D226E
triadic
#8E229D #9D8E22 #229D8E
tetradic
#8E229D #9D5122 #319D22 #226E9D
square
#8E229D #9D5122 #319D22 #226E9D
split-complementary
#8E229D #6E9D22 #229D51
monochromatic
#330C38 #61176B #8E229D #BB2DCF #CD5DDC
Accessibility & contrast
On white
7.33
#8E229D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#8E229D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E229D
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E229D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E229D | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#365A9A
Tritanopia (blue-blind)
#903B5F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8e229d; /* rgb */ color: rgb(142, 34, 157); /* oklch */ color: oklch(48.0% 0.199 322.4);
Tailwind
colors: {
custom: {
50: '#b36aba',
500: '#8e229d',
950: '#000000',
},
}SCSS
$custom: #8e229d; $custom-light: #b36aba; $custom-dark: #000000;
JSON
{
"hex": "#8e229d",
"rgb": {
"r": 142,
"g": 34,
"b": 157
},
"hsl": {
"h": 292.683,
"s": 64.398,
"l": 37.451
},
"oklch": {
"l": 0.47978,
"c": 0.19866,
"h": 322.4
},
"luminance": 0.09329
}Semantic roles & 50–950 ramp
primary
#8E229D
secondary
#67C15A
accent
#E74055
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81