#8D22A6#8D22A6

#8D22A6 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.206 H 319.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8D22A6
RGBrgb(141, 34, 166)
HSLhsl(289, 66%, 39%)
HSVhsv(289, 80%, 65%)
CMYKcmyk(15.1%, 79.5%, 0%, 34.9%)
CIE-LABlab(37.04, 60.81, -48.04)
CIE-LCHlch(37.04, 77.50, 321.69°)
OKLaboklab(48.44% 0.1552 -0.1351)
OKLCHoklch(48.44% 0.206 319)
XYZxyz(18.4385, 9.5609, 36.9432)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D22A6 #3BA622
analogous
#4B22A6 #8D22A6 #A6227D
triadic
#8D22A6 #A68D22 #22A68D
tetradic
#8D22A6 #A64B22 #3BA622 #227DA6
square
#8D22A6 #A64B22 #3BA622 #227DA6
split-complementary
#8D22A6 #7DA622 #22A64B
monochromatic
#370D40 #621873 #8D22A6 #B630D5 #C863DF

Accessibility & contrast

On white

7.21
#8D22A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D22A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D22A6
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D22A6#FFFFFF#000000##FFFFFF
##8D22A61.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#2C5BA3
Tritanopia (blue-blind)
#8D3F64
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d22a6;
/* rgb */ color: rgb(141, 34, 166);
/* oklch */ color: oklch(48.4% 0.206 319.0);
Tailwind
colors: {
  custom: {
    50: '#b26bc1',
    500: '#8d22a6',
    950: '#000000',
  },
}
SCSS
$custom: #8d22a6;
$custom-light: #b26bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d22a6",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 288.636,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.20573,
    "h": 319
  },
  "luminance": 0.0956
}

Semantic roles & 50–950 ramp

primary
#8D22A6
secondary
#73C45F
accent
#E93F5F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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