#8820B4#8820B4

#8820B4 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.6% C 0.218 H 312.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#8820B4
RGBrgb(136, 32, 180)
HSLhsl(282, 70%, 42%)
HSVhsv(282, 82%, 71%)
CMYKcmyk(24.4%, 82.2%, 0%, 29.4%)
CIE-LABlab(37.05, 63.22, -56.43)
CIE-LCHlch(37.05, 84.74, 318.25°)
OKLaboklab(48.6% 0.1478 -0.1598)
OKLCHoklch(48.6% 0.218 312.8)
XYZxyz(18.9066, 9.5631, 44.0211)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8820B4 #4CB420
analogous
#3E20B4 #8820B4 #B42096
triadic
#8820B4 #B48820 #20B488
tetradic
#8820B4 #B43E20 #4CB420 #2096B4
square
#8820B4 #B43E20 #4CB420 #2096B4
split-complementary
#8820B4 #96B420 #20B43E
monochromatic
#390E4C #611780 #8820B4 #AA36DB #C06AE4

Accessibility & contrast

On white

7.21
#8820B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8820B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8820B4
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8820B4#FFFFFF#000000##FFFFFF
##8820B41.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#83466C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8820b4;
/* rgb */ color: rgb(136, 32, 180);
/* oklch */ color: oklch(48.6% 0.218 312.8);
Tailwind
colors: {
  custom: {
    50: '#b06acb',
    500: '#8820b4',
    950: '#000000',
  },
}
SCSS
$custom: #8820b4;
$custom-light: #b06acb;
$custom-dark: #000000;
JSON
{
  "hex": "#8820b4",
  "rgb": {
    "r": 136,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 282.162,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.21767,
    "h": 312.8
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#8820B4
secondary
#83CA66
accent
#ED3B70
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8820B4

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

Preview Lab → · Contrast checker → · Palette generator →

#8820B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva