#8D22A7#8D22A7

#8D22A7 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.207 H 318.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8D22A7
RGBrgb(141, 34, 167)
HSLhsl(288, 66%, 39%)
HSVhsv(288, 80%, 65%)
CMYKcmyk(15.6%, 79.6%, 0%, 34.5%)
CIE-LABlab(37.11, 61.00, -48.53)
CIE-LCHlch(37.11, 77.95, 321.49°)
OKLaboklab(48.51% 0.1551 -0.1365)
OKLCHoklch(48.51% 0.207 318.6)
XYZxyz(18.5306, 9.5977, 37.4282)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D22A7 #3CA722
analogous
#4B22A7 #8D22A7 #A7227E
triadic
#8D22A7 #A78D22 #22A78D
tetradic
#8D22A7 #A74B22 #3CA722 #227EA7
square
#8D22A7 #A74B22 #3CA722 #227EA7
split-complementary
#8D22A7 #7EA722 #22A74B
monochromatic
#370D41 #621874 #8D22A7 #B531D5 #C764DF

Accessibility & contrast

On white

7.19
#8D22A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D22A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D22A7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D22A7#FFFFFF#000000##FFFFFF
##8D22A71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#2A5BA4
Tritanopia (blue-blind)
#8C4065
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d22a7;
/* rgb */ color: rgb(141, 34, 167);
/* oklch */ color: oklch(48.5% 0.207 318.6);
Tailwind
colors: {
  custom: {
    50: '#b36bc2',
    500: '#8d22a7',
    950: '#000000',
  },
}
SCSS
$custom: #8d22a7;
$custom-light: #b36bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d22a7",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 288.271,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.20657,
    "h": 318.6
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

primary
#8D22A7
secondary
#74C560
accent
#E93F60
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8D22A7

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

Preview Lab → · Contrast checker → · Palette generator →

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