#8E22AF#8E22AF

#8E22AF is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.214 H 316.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8E22AF
RGBrgb(142, 34, 175)
HSLhsl(286, 67%, 41%)
HSVhsv(286, 81%, 69%)
CMYKcmyk(18.9%, 80.6%, 0%, 31.4%)
CIE-LABlab(37.83, 62.71, -52.15)
CIE-LCHlch(37.83, 81.56, 320.25°)
OKLaboklab(49.22% 0.155 -0.1471)
OKLCHoklch(49.22% 0.214 316.5)
XYZxyz(19.4640, 9.9908, 41.4523)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E22AF #43AF22
analogous
#4722AF #8E22AF #AF2289
triadic
#8E22AF #AF8E22 #22AF8E
tetradic
#8E22AF #AF4722 #43AF22 #2289AF
square
#8E22AF #AF4722 #43AF22 #2289AF
split-complementary
#8E22AF #89AF22 #22AF47
monochromatic
#3B0E49 #64187C #8E22AF #B236D8 #C669E2

Accessibility & contrast

On white

7.00
#8E22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8E22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E22AF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E22AF#FFFFFF#000000##FFFFFF
##8E22AF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#8C4369
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e22af;
/* rgb */ color: rgb(142, 34, 175);
/* oklch */ color: oklch(49.2% 0.214 316.5);
Tailwind
colors: {
  custom: {
    50: '#b46bc8',
    500: '#8e22af',
    950: '#000000',
  },
}
SCSS
$custom: #8e22af;
$custom-light: #b46bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e22af",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 285.957,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4922,
    "c": 0.21365,
    "h": 316.5
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

primary
#8E22AF
secondary
#7CC865
accent
#EA3D66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8E22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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