#8822AA#8822AA

#8822AA is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.207 H 315.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8822AA
RGBrgb(136, 34, 170)
HSLhsl(285, 67%, 40%)
HSVhsv(285, 80%, 67%)
CMYKcmyk(20%, 80%, 0%, 33.3%)
CIE-LABlab(36.52, 60.64, -51.32)
CIE-LCHlch(36.52, 79.45, 319.76°)
OKLaboklab(48% 0.1483 -0.1448)
OKLCHoklch(48% 0.207 315.7)
XYZxyz(17.9799, 9.2813, 38.8668)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8822AA #44AA22
analogous
#4422AA #8822AA #AA2288
triadic
#8822AA #AA8822 #22AA88
tetradic
#8822AA #AA4422 #44AA22 #2288AA
square
#8822AA #AA4422 #44AA22 #2288AA
split-complementary
#8822AA #88AA22 #22AA44
monochromatic
#360E44 #5F1877 #8822AA #AD33D6 #C266E0

Accessibility & contrast

On white

7.35
#8822AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8822AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8822AA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8822AA#FFFFFF#000000##FFFFFF
##8822AA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#1D59A7
Tritanopia (blue-blind)
#854267
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8822aa;
/* rgb */ color: rgb(136, 34, 170);
/* oklch */ color: oklch(48.0% 0.207 315.7);
Tailwind
colors: {
  custom: {
    50: '#af6ac4',
    500: '#8822aa',
    950: '#000000',
  },
}
SCSS
$custom: #8822aa;
$custom-light: #af6ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#8822aa",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 285,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.48002,
    "c": 0.20733,
    "h": 315.7
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#8822AA
secondary
#7BC662
accent
#EA3E69
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8822AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8822AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva