#8D22A5#8D22A5

#8D22A5 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.4% C 0.205 H 319.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8D22A5
RGBrgb(141, 34, 165)
HSLhsl(289, 66%, 39%)
HSVhsv(289, 79%, 65%)
CMYKcmyk(14.5%, 79.4%, 0%, 35.3%)
CIE-LABlab(36.97, 60.63, -47.55)
CIE-LCHlch(36.97, 77.05, 321.89°)
OKLaboklab(48.37% 0.1553 -0.1336)
OKLCHoklch(48.37% 0.205 319.3)
XYZxyz(18.3472, 9.5243, 36.4620)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D22A5 #3AA522
analogous
#4C22A5 #8D22A5 #A5227C
triadic
#8D22A5 #A58D22 #22A58D
tetradic
#8D22A5 #A54C22 #3AA522 #227CA5
square
#8D22A5 #A54C22 #3AA522 #227CA5
split-complementary
#8D22A5 #7CA522 #22A54C
monochromatic
#360D40 #621872 #8D22A5 #B630D4 #C863DF

Accessibility & contrast

On white

7.23
#8D22A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D22A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D22A5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D22A5#FFFFFF#000000##FFFFFF
##8D22A51.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d22a5;
/* rgb */ color: rgb(141, 34, 165);
/* oklch */ color: oklch(48.4% 0.205 319.3);
Tailwind
colors: {
  custom: {
    50: '#b26bc0',
    500: '#8d22a5',
    950: '#000000',
  },
}
SCSS
$custom: #8d22a5;
$custom-light: #b26bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d22a5",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 289.008,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4837,
    "c": 0.20489,
    "h": 319.3
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#8D22A5
secondary
#71C45F
accent
#E93F5E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8D22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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