#8820A8#8820A8

#8820A8 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.207 H 316.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8820A8
RGBrgb(136, 32, 168)
HSLhsl(286, 68%, 39%)
HSVhsv(286, 81%, 66%)
CMYKcmyk(19%, 81%, 0%, 34.1%)
CIE-LABlab(36.17, 60.87, -50.69)
CIE-LCHlch(36.17, 79.21, 320.21°)
OKLaboklab(47.71% 0.1503 -0.143)
OKLCHoklch(47.71% 0.207 316.4)
XYZxyz(17.7366, 9.0952, 37.8595)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8820A8 #40A820
analogous
#4420A8 #8820A8 #A82084
triadic
#8820A8 #A88820 #20A888
tetradic
#8820A8 #A84420 #40A820 #2084A8
square
#8820A8 #A84420 #40A820 #2084A8
split-complementary
#8820A8 #84A820 #20A844
monochromatic
#350C41 #5E1675 #8820A8 #AF2ED7 #C361E1

Accessibility & contrast

On white

7.45
#8820A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8820A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8820A8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8820A8#FFFFFF#000000##FFFFFF
##8820A81.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#1F58A5
Tritanopia (blue-blind)
#864065
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8820a8;
/* rgb */ color: rgb(136, 32, 168);
/* oklch */ color: oklch(47.7% 0.207 316.4);
Tailwind
colors: {
  custom: {
    50: '#af69c3',
    500: '#8820a8',
    950: '#000000',
  },
}
SCSS
$custom: #8820a8;
$custom-light: #af69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#8820a8",
  "rgb": {
    "r": 136,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 285.882,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.20742,
    "h": 316.4
  },
  "luminance": 0.09094
}

Semantic roles & 50–950 ramp

primary
#8820A8
secondary
#76C65E
accent
#EB3D66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8820A8

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

Preview Lab → · Contrast checker → · Palette generator →

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