#8D22AF#8D22AF

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

Color values

HEX#8D22AF
RGBrgb(141, 34, 175)
HSLhsl(286, 67%, 41%)
HSVhsv(286, 81%, 69%)
CMYKcmyk(19.4%, 80.6%, 0%, 31.4%)
CIE-LABlab(37.67, 62.53, -52.41)
CIE-LCHlch(37.67, 81.59, 320.03°)
OKLaboklab(49.08% 0.1537 -0.1479)
OKLCHoklch(49.08% 0.213 316.1)
XYZxyz(19.2932, 9.9027, 41.4443)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D22AF #44AF22
analogous
#4622AF #8D22AF #AF228A
triadic
#8D22AF #AF8D22 #22AF8D
tetradic
#8D22AF #AF4622 #44AF22 #228AAF
square
#8D22AF #AF4622 #44AF22 #228AAF
split-complementary
#8D22AF #8AAF22 #22AF46
monochromatic
#3A0E49 #64187C #8D22AF #B136D8 #C569E2

Accessibility & contrast

On white

7.05
#8D22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D22AF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D22AF#FFFFFF#000000##FFFFFF
##8D22AF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#1F5BAC
Tritanopia (blue-blind)
#8B4469
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d22af;
/* rgb */ color: rgb(141, 34, 175);
/* oklch */ color: oklch(49.1% 0.213 316.1);
Tailwind
colors: {
  custom: {
    50: '#b36bc8',
    500: '#8d22af',
    950: '#000000',
  },
}
SCSS
$custom: #8d22af;
$custom-light: #b36bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d22af",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 285.532,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49077,
    "c": 0.21331,
    "h": 316.1
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#8D22AF
secondary
#7DC865
accent
#EA3D67
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8D22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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