#8D22B6#8D22B6

#8D22B6 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.219 H 314.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D22B6
RGBrgb(141, 34, 182)
HSLhsl(283, 69%, 42%)
HSVhsv(283, 81%, 71%)
CMYKcmyk(22.5%, 81.3%, 0%, 28.6%)
CIE-LABlab(38.17, 63.89, -55.75)
CIE-LCHlch(38.17, 84.79, 318.89°)
OKLaboklab(49.59% 0.1524 -0.1577)
OKLCHoklch(49.59% 0.219 314)
XYZxyz(19.9986, 10.1849, 45.1593)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D22B6 #4BB622
analogous
#4322B6 #8D22B6 #B62295
triadic
#8D22B6 #B68D22 #22B68D
tetradic
#8D22B6 #B64322 #4BB622 #2295B6
square
#8D22B6 #B64322 #4BB622 #2295B6
split-complementary
#8D22B6 #95B622 #22B643
monochromatic
#3D0F4F #651882 #8D22B6 #AE3BDA #C36EE4

Accessibility & contrast

On white

6.92
#8D22B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D22B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D22B6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D22B6#FFFFFF#000000##FFFFFF
##8D22B61.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0F5CB3
Tritanopia (blue-blind)
#89476E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d22b6;
/* rgb */ color: rgb(141, 34, 182);
/* oklch */ color: oklch(49.6% 0.219 314.0);
Tailwind
colors: {
  custom: {
    50: '#b36ccd',
    500: '#8d22b6',
    950: '#000000',
  },
}
SCSS
$custom: #8d22b6;
$custom-light: #b36ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d22b6",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 182
  },
  "hsl": {
    "h": 283.378,
    "s": 68.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4959,
    "c": 0.21926,
    "h": 314
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#8D22B6
secondary
#84CA69
accent
#EB3C6D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8D22B6

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

Preview Lab → · Contrast checker → · Palette generator →

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