#8D22B3#8D22B3

#8D22B3 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.217 H 314.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D22B3
RGBrgb(141, 34, 179)
HSLhsl(284, 68%, 42%)
HSVhsv(284, 81%, 70%)
CMYKcmyk(21.2%, 81%, 0%, 29.8%)
CIE-LABlab(37.95, 63.30, -54.33)
CIE-LCHlch(37.95, 83.42, 319.36°)
OKLaboklab(49.37% 0.153 -0.1535)
OKLCHoklch(49.37% 0.217 314.9)
XYZxyz(19.6919, 10.0622, 43.5440)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D22B3 #48B322
analogous
#4522B3 #8D22B3 #B32291
triadic
#8D22B3 #B38D22 #22B38D
tetradic
#8D22B3 #B34522 #48B322 #2291B3
square
#8D22B3 #B34522 #48B322 #2291B3
split-complementary
#8D22B3 #91B322 #22B345
monochromatic
#3C0E4C #641880 #8D22B3 #AF39D9 #C46CE3

Accessibility & contrast

On white

6.97
#8D22B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8D22B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D22B3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D22B3#FFFFFF#000000##FFFFFF
##8D22B31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#8A466C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d22b3;
/* rgb */ color: rgb(141, 34, 179);
/* oklch */ color: oklch(49.4% 0.217 314.9);
Tailwind
colors: {
  custom: {
    50: '#b36bcb',
    500: '#8d22b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d22b3;
$custom-light: #b36bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d22b3",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 284.276,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.21671,
    "h": 314.9
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#8D22B3
secondary
#81C968
accent
#EB3D6A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8D22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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