#8822BB#8822BB

#8822BB is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.222 H 310.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8822BB
RGBrgb(136, 34, 187)
HSLhsl(280, 69%, 43%)
HSVhsv(280, 82%, 73%)
CMYKcmyk(27.3%, 81.8%, 0%, 26.7%)
CIE-LABlab(37.78, 64.05, -59.37)
CIE-LCHlch(37.78, 87.33, 317.17°)
OKLaboklab(49.28% 0.1447 -0.1685)
OKLCHoklch(49.28% 0.222 310.7)
XYZxyz(19.6933, 9.9666, 47.8904)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8822BB #55BB22
analogous
#3B22BB #8822BB #BB22A1
triadic
#8822BB #BB8822 #22BB88
tetradic
#8822BB #BB3B22 #55BB22 #22A1BB
square
#8822BB #BB3B22 #55BB22 #22A1BB
split-complementary
#8822BB #A1BB22 #22BB3B
monochromatic
#3D0F53 #621987 #8822BB #A73EDC #BF72E5

Accessibility & contrast

On white

7.02
#8822BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8822BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8822BB#FFFFFF#000000##FFFFFF
##8822BB1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#814A70
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8822bb;
/* rgb */ color: rgb(136, 34, 187);
/* oklch */ color: oklch(49.3% 0.222 310.7);
Tailwind
colors: {
  custom: {
    50: '#b06bd0',
    500: '#8822bb',
    950: '#000000',
  },
}
SCSS
$custom: #8822bb;
$custom-light: #b06bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8822bb",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 280,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.22209,
    "h": 310.7
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#8822BB
secondary
#8CCC6D
accent
#EC3C77
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8822BB

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

Preview Lab → · Contrast checker → · Palette generator →

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