#8D22A1#8D22A1

#8D22A1 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.202 H 320.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8D22A1
RGBrgb(141, 34, 161)
HSLhsl(291, 65%, 38%)
HSVhsv(291, 79%, 63%)
CMYKcmyk(12.4%, 78.9%, 0%, 36.9%)
CIE-LABlab(36.71, 59.88, -45.57)
CIE-LCHlch(36.71, 75.25, 322.73°)
OKLaboklab(48.1% 0.1558 -0.1278)
OKLCHoklch(48.1% 0.202 320.6)
XYZxyz(17.9888, 9.3810, 34.5745)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D22A1 #36A122
analogous
#4D22A1 #8D22A1 #A12275
triadic
#8D22A1 #A18D22 #22A18D
tetradic
#8D22A1 #A14D22 #36A122 #2275A1
square
#8D22A1 #A14D22 #36A122 #2275A1
split-complementary
#8D22A1 #75A122 #22A14D
monochromatic
#340D3C #61176E #8D22A1 #B92DD3 #CA60DD

Accessibility & contrast

On white

7.30
#8D22A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D22A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D22A1
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D22A1#FFFFFF#000000##FFFFFF
##8D22A11.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#315A9E
Tritanopia (blue-blind)
#8E3D61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d22a1;
/* rgb */ color: rgb(141, 34, 161);
/* oklch */ color: oklch(48.1% 0.202 320.6);
Tailwind
colors: {
  custom: {
    50: '#b26bbd',
    500: '#8d22a1',
    950: '#000000',
  },
}
SCSS
$custom: #8d22a1;
$custom-light: #b26bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d22a1",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 290.551,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48097,
    "c": 0.20156,
    "h": 320.6
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#8D22A1
secondary
#6DC25D
accent
#E8405A
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D22A1

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

Preview Lab → · Contrast checker → · Palette generator →

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