#8822A7#8822A7

#8822A7 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 47.8% C 0.205 H 316.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8822A7
RGBrgb(136, 34, 167)
HSLhsl(286, 66%, 39%)
HSVhsv(286, 80%, 65%)
CMYKcmyk(18.6%, 79.6%, 0%, 34.5%)
CIE-LABlab(36.31, 60.06, -49.87)
CIE-LCHlch(36.31, 78.06, 320.30°)
OKLaboklab(47.79% 0.1489 -0.1406)
OKLCHoklch(47.79% 0.205 316.6)
XYZxyz(17.6994, 9.1691, 37.3892)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8822A7 #41A722
analogous
#4622A7 #8822A7 #A72284
triadic
#8822A7 #A78822 #22A788
tetradic
#8822A7 #A74622 #41A722 #2284A7
square
#8822A7 #A74622 #41A722 #2284A7
split-complementary
#8822A7 #84A722 #22A746
monochromatic
#350D41 #5F1874 #8822A7 #AF31D5 #C364DF

Accessibility & contrast

On white

7.41
#8822A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8822A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8822A7#FFFFFF#000000##FFFFFF
##8822A71.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#2258A4
Tritanopia (blue-blind)
#864165
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8822a7;
/* rgb */ color: rgb(136, 34, 167);
/* oklch */ color: oklch(47.8% 0.205 316.6);
Tailwind
colors: {
  custom: {
    50: '#af6ac2',
    500: '#8822a7',
    950: '#000000',
  },
}
SCSS
$custom: #8822a7;
$custom-light: #af6ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#8822a7",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 286.015,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47785,
    "c": 0.20476,
    "h": 316.6
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#8822A7
secondary
#78C560
accent
#E93F66
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8822A7

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

Preview Lab → · Contrast checker → · Palette generator →

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