#882BB5#882BB5

#882BB5 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.208 H 311.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#882BB5
RGBrgb(136, 43, 181)
HSLhsl(280, 62%, 44%)
HSVhsv(280, 76%, 71%)
CMYKcmyk(24.9%, 76.2%, 0%, 29%)
CIE-LABlab(38.37, 59.80, -54.87)
CIE-LCHlch(38.37, 81.16, 317.46°)
OKLaboklab(49.56% 0.1388 -0.1553)
OKLCHoklch(49.56% 0.208 311.8)
XYZxyz(19.3562, 10.2987, 44.6753)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BB5 #58B52B
analogous
#432BB5 #882BB5 #B52B9D
triadic
#882BB5 #B5882B #2BB588
tetradic
#882BB5 #B5432B #58B52B #2B9DB5
square
#882BB5 #B5432B #58B52B #2B9DB5
split-complementary
#882BB5 #9DB52B #2BB543
monochromatic
#3E1452 #631F84 #882BB5 #A749D4 #BF7BE0

Accessibility & contrast

On white

6.86
#882BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#882BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BB5
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BB5#FFFFFF#000000##FFFFFF
##882BB51.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#125CB2
Tritanopia (blue-blind)
#824C6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882bb5;
/* rgb */ color: rgb(136, 43, 181);
/* oklch */ color: oklch(49.6% 0.208 311.8);
Tailwind
colors: {
  custom: {
    50: '#af6fcc',
    500: '#882bb5',
    950: '#000000',
  },
}
SCSS
$custom: #882bb5;
$custom-light: #af6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#882bb5",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 280.435,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.2083,
    "h": 311.8
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#882BB5
secondary
#8FC874
accent
#E54378
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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