#8822B4#8822B4

#8822B4 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.216 H 312.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8822B4
RGBrgb(136, 34, 180)
HSLhsl(282, 68%, 42%)
HSVhsv(282, 81%, 71%)
CMYKcmyk(24.4%, 81.1%, 0%, 29.4%)
CIE-LABlab(37.25, 62.63, -56.10)
CIE-LCHlch(37.25, 84.08, 318.15°)
OKLaboklab(48.74% 0.1463 -0.1589)
OKLCHoklch(48.74% 0.216 312.6)
XYZxyz(18.9621, 9.6742, 44.0396)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8822B4 #4EB422
analogous
#3F22B4 #8822B4 #B42297
triadic
#8822B4 #B48822 #22B488
tetradic
#8822B4 #B43F22 #4EB422 #2297B4
square
#8822B4 #B43F22 #4EB422 #2297B4
split-complementary
#8822B4 #97B422 #22B43F
monochromatic
#3A0F4D #611881 #8822B4 #A93ADA #C06DE3

Accessibility & contrast

On white

7.16
#8822B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8822B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8822B4#FFFFFF#000000##FFFFFF
##8822B41.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#015AB1
Tritanopia (blue-blind)
#83476C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8822b4;
/* rgb */ color: rgb(136, 34, 180);
/* oklch */ color: oklch(48.7% 0.216 312.6);
Tailwind
colors: {
  custom: {
    50: '#b06bcb',
    500: '#8822b4',
    950: '#000000',
  },
}
SCSS
$custom: #8822b4;
$custom-light: #b06bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#8822b4",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 281.918,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48744,
    "c": 0.21598,
    "h": 312.6
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#8822B4
secondary
#86CA68
accent
#EB3D71
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8822B4

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

Preview Lab → · Contrast checker → · Palette generator →

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