#882BB1#882BB1

#882BB1 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.205 H 313.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#882BB1
RGBrgb(136, 43, 177)
HSLhsl(282, 61%, 43%)
HSVhsv(282, 76%, 69%)
CMYKcmyk(23.2%, 75.7%, 0%, 30.6%)
CIE-LABlab(38.09, 58.97, -52.96)
CIE-LCHlch(38.09, 79.26, 318.07°)
OKLaboklab(49.26% 0.1395 -0.1497)
OKLCHoklch(49.26% 0.205 313)
XYZxyz(18.9516, 10.1369, 42.5447)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BB1 #54B12B
analogous
#452BB1 #882BB1 #B12B97
triadic
#882BB1 #B1882B #2BB188
tetradic
#882BB1 #B1452B #54B12B #2B97B1
square
#882BB1 #B1452B #54B12B #2B97B1
split-complementary
#882BB1 #97B12B #2BB145
monochromatic
#3C134F #621F80 #882BB1 #A847D2 #BF78DE

Accessibility & contrast

On white

6.94
#882BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#882BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BB1
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BB1#FFFFFF#000000##FFFFFF
##882BB11.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#1B5CAE
Tritanopia (blue-blind)
#834A6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882bb1;
/* rgb */ color: rgb(136, 43, 177);
/* oklch */ color: oklch(49.3% 0.205 313.0);
Tailwind
colors: {
  custom: {
    50: '#af6ec9',
    500: '#882bb1',
    950: '#000000',
  },
}
SCSS
$custom: #882bb1;
$custom-light: #af6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#882bb1",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 281.642,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49263,
    "c": 0.20462,
    "h": 313
  },
  "luminance": 0.10136
}

Semantic roles & 50–950 ramp

primary
#882BB1
secondary
#8CC672
accent
#E44475
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882BB1

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

Preview Lab → · Contrast checker → · Palette generator →

#882BB1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva