#8D20B3#8D20B3

#8D20B3 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.218 H 315.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8D20B3
RGBrgb(141, 32, 179)
HSLhsl(284, 70%, 41%)
HSVhsv(284, 82%, 70%)
CMYKcmyk(21.2%, 82.1%, 0%, 29.8%)
CIE-LABlab(37.75, 63.88, -54.65)
CIE-LCHlch(37.75, 84.07, 319.45°)
OKLaboklab(49.23% 0.1544 -0.1544)
OKLCHoklch(49.23% 0.218 315)
XYZxyz(19.6364, 9.9512, 43.5255)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D20B3 #46B320
analogous
#4420B3 #8D20B3 #B32090
triadic
#8D20B3 #B38D20 #20B38D
tetradic
#8D20B3 #B34420 #46B320 #2090B3
square
#8D20B3 #B34420 #46B320 #2090B3
split-complementary
#8D20B3 #90B320 #20B344
monochromatic
#3B0D4B #64177F #8D20B3 #B035DB #C469E4

Accessibility & contrast

On white

7.02
#8D20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D20B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D20B3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D20B3#FFFFFF#000000##FFFFFF
##8D20B31.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#155BB0
Tritanopia (blue-blind)
#8A456B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d20b3;
/* rgb */ color: rgb(141, 32, 179);
/* oklch */ color: oklch(49.2% 0.218 315.0);
Tailwind
colors: {
  custom: {
    50: '#b36bcb',
    500: '#8d20b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d20b3;
$custom-light: #b36bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d20b3",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 284.49,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49229,
    "c": 0.21839,
    "h": 315
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#8D20B3
secondary
#7FCA65
accent
#EC3B69
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #8D20B3

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

Preview Lab → · Contrast checker → · Palette generator →

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