#8E22AE#8E22AE

#8E22AE is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.213 H 316.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8E22AE
RGBrgb(142, 34, 174)
HSLhsl(286, 67%, 41%)
HSVhsv(286, 80%, 68%)
CMYKcmyk(18.4%, 80.5%, 0%, 31.8%)
CIE-LABlab(37.76, 62.51, -51.67)
CIE-LCHlch(37.76, 81.10, 320.43°)
OKLaboklab(49.15% 0.1552 -0.1457)
OKLCHoklch(49.15% 0.213 316.8)
XYZxyz(19.3662, 9.9517, 40.9369)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E22AE #42AE22
analogous
#4822AE #8E22AE #AE2288
triadic
#8E22AE #AE8E22 #22AE8E
tetradic
#8E22AE #AE4822 #42AE22 #2288AE
square
#8E22AE #AE4822 #42AE22 #2288AE
split-complementary
#8E22AE #88AE22 #22AE48
monochromatic
#3A0E48 #64187B #8E22AE #B336D8 #C669E2

Accessibility & contrast

On white

7.02
#8E22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E22AE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E22AE#FFFFFF#000000##FFFFFF
##8E22AE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#8C4369
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e22ae;
/* rgb */ color: rgb(142, 34, 174);
/* oklch */ color: oklch(49.1% 0.213 316.8);
Tailwind
colors: {
  custom: {
    50: '#b46bc7',
    500: '#8e22ae',
    950: '#000000',
  },
}
SCSS
$custom: #8e22ae;
$custom-light: #b46bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e22ae",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 286.286,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.21282,
    "h": 316.8
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#8E22AE
secondary
#7BC764
accent
#EA3E65
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8E22AE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8E22AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva