#8D22AE#8D22AE

#8D22AE is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.212 H 316.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8D22AE
RGBrgb(141, 34, 174)
HSLhsl(286, 67%, 41%)
HSVhsv(286, 80%, 68%)
CMYKcmyk(19%, 80.5%, 0%, 31.8%)
CIE-LABlab(37.60, 62.33, -51.93)
CIE-LCHlch(37.60, 81.13, 320.20°)
OKLaboklab(49.01% 0.1539 -0.1465)
OKLCHoklch(49.01% 0.212 316.4)
XYZxyz(19.1953, 9.8636, 40.9289)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D22AE #43AE22
analogous
#4722AE #8D22AE #AE2289
triadic
#8D22AE #AE8D22 #22AE8D
tetradic
#8D22AE #AE4722 #43AE22 #2289AE
square
#8D22AE #AE4722 #43AE22 #2289AE
split-complementary
#8D22AE #89AE22 #22AE47
monochromatic
#3A0E48 #64187B #8D22AE #B136D8 #C569E2

Accessibility & contrast

On white

7.06
#8D22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#8D22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D22AE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D22AE#FFFFFF#000000##FFFFFF
##8D22AE1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#215BAB
Tritanopia (blue-blind)
#8B4369
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8d22ae;
/* rgb */ color: rgb(141, 34, 174);
/* oklch */ color: oklch(49.0% 0.212 316.4);
Tailwind
colors: {
  custom: {
    50: '#b36bc7',
    500: '#8d22ae',
    950: '#000000',
  },
}
SCSS
$custom: #8d22ae;
$custom-light: #b36bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d22ae",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 285.857,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.21247,
    "h": 316.4
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#8D22AE
secondary
#7CC764
accent
#EA3E66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8D22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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