#882188#882188

#882188 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.180 H 328.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#882188
RGBrgb(136, 33, 136)
HSLhsl(300, 61%, 33%)
HSVhsv(300, 76%, 53%)
CMYKcmyk(0%, 75.7%, 0%, 46.7%)
CIE-LABlab(34.19, 54.70, -34.37)
CIE-LCHlch(34.19, 64.60, 327.86°)
OKLaboklab(45.65% 0.1526 -0.0952)
OKLCHoklch(45.65% 0.18 328)
XYZxyz(15.1409, 8.1006, 24.0539)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882188 #218821
analogous
#542188 #882188 #882154
triadic
#882188 #888821 #218888
tetradic
#882188 #885421 #218821 #215488
square
#882188 #885421 #218821 #215488
split-complementary
#882188 #548821 #218854
monochromatic
#250925 #571557 #882188 #B92DB9 #D44FD4

Accessibility & contrast

On white

8.02
#882188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#882188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882188
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882188#FFFFFF#000000##FFFFFF
##8821881.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#3D5585
Tritanopia (blue-blind)
#8C3153
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #882188;
/* rgb */ color: rgb(136, 33, 136);
/* oklch */ color: oklch(45.6% 0.180 328.0);
Tailwind
colors: {
  custom: {
    50: '#ae68ab',
    500: '#882188',
    950: '#000000',
  },
}
SCSS
$custom: #882188;
$custom-light: #ae68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#882188",
  "rgb": {
    "r": 136,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 300,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45645,
    "c": 0.17992,
    "h": 328
  },
  "luminance": 0.081
}

Semantic roles & 50–950 ramp

primary
#882188
secondary
#4DB84D
accent
#E44444
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #882188

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

Preview Lab → · Contrast checker → · Palette generator →

#882188 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva