#8822BA#8822BA

#8822BA is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.2% C 0.221 H 310.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8822BA
RGBrgb(136, 34, 186)
HSLhsl(280, 69%, 43%)
HSVhsv(280, 82%, 73%)
CMYKcmyk(26.9%, 81.7%, 0%, 27.1%)
CIE-LABlab(37.71, 63.84, -58.91)
CIE-LCHlch(37.71, 86.87, 317.30°)
OKLaboklab(49.2% 0.1449 -0.1671)
OKLCHoklch(49.2% 0.221 310.9)
XYZxyz(19.5866, 9.9240, 47.3286)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8822BA #54BA22
analogous
#3C22BA #8822BA #BA22A0
triadic
#8822BA #BA8822 #22BA88
tetradic
#8822BA #BA3C22 #54BA22 #22A0BA
square
#8822BA #BA3C22 #54BA22 #22A0BA
split-complementary
#8822BA #A0BA22 #22BA3C
monochromatic
#3C0F53 #621986 #8822BA #A83EDC #BF71E5

Accessibility & contrast

On white

7.04
#8822BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8822BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8822BA#FFFFFF#000000##FFFFFF
##8822BA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#814A70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8822ba;
/* rgb */ color: rgb(136, 34, 186);
/* oklch */ color: oklch(49.2% 0.221 310.9);
Tailwind
colors: {
  custom: {
    50: '#b06bd0',
    500: '#8822ba',
    950: '#000000',
  },
}
SCSS
$custom: #8822ba;
$custom-light: #b06bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8822ba",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 280.263,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49204,
    "c": 0.22122,
    "h": 310.9
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#8822BA
secondary
#8CCC6C
accent
#EC3C76
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8822BA

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

Preview Lab → · Contrast checker → · Palette generator →

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