#8D20B2#8D20B2

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

Color values

HEX#8D20B2
RGBrgb(141, 32, 178)
HSLhsl(285, 70%, 41%)
HSVhsv(285, 82%, 70%)
CMYKcmyk(20.8%, 82%, 0%, 30.2%)
CIE-LABlab(37.68, 63.69, -54.17)
CIE-LCHlch(37.68, 83.61, 319.61°)
OKLaboklab(49.16% 0.1546 -0.153)
OKLCHoklch(49.16% 0.218 315.3)
XYZxyz(19.5356, 9.9109, 42.9948)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D20B2 #45B220
analogous
#4420B2 #8D20B2 #B2208E
triadic
#8D20B2 #B28D20 #20B28D
tetradic
#8D20B2 #B24420 #45B220 #208EB2
square
#8D20B2 #B24420 #45B220 #208EB2
split-complementary
#8D20B2 #8EB220 #20B244
monochromatic
#3B0D4A #64177E #8D20B2 #B135DB #C568E4

Accessibility & contrast

On white

7.04
#8D20B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8D20B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D20B2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D20B2#FFFFFF#000000##FFFFFF
##8D20B21.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#175BAF
Tritanopia (blue-blind)
#8A446B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d20b2;
/* rgb */ color: rgb(141, 32, 178);
/* oklch */ color: oklch(49.2% 0.218 315.3);
Tailwind
colors: {
  custom: {
    50: '#b36bca',
    500: '#8d20b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d20b2;
$custom-light: #b36bca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d20b2",
  "rgb": {
    "r": 141,
    "g": 32,
    "b": 178
  },
  "hsl": {
    "h": 284.795,
    "s": 69.524,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.21754,
    "h": 315.3
  },
  "luminance": 0.0991
}

Semantic roles & 50–950 ramp

primary
#8D20B2
secondary
#7ECA64
accent
#EC3B68
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #8D20B2

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

Preview Lab → · Contrast checker → · Palette generator →

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