#882BB4#882BB4

#882BB4 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.207 H 312.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#882BB4
RGBrgb(136, 43, 180)
HSLhsl(281, 61%, 44%)
HSVhsv(281, 76%, 71%)
CMYKcmyk(24.4%, 76.1%, 0%, 29.4%)
CIE-LABlab(38.30, 59.59, -54.39)
CIE-LCHlch(38.30, 80.68, 317.61°)
OKLaboklab(49.48% 0.139 -0.1539)
OKLCHoklch(49.48% 0.207 312.1)
XYZxyz(19.2539, 10.2578, 44.1369)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BB4 #57B42B
analogous
#432BB4 #882BB4 #B42B9B
triadic
#882BB4 #B4882B #2BB488
tetradic
#882BB4 #B4432B #57B42B #2B9BB4
square
#882BB4 #B4432B #57B42B #2B9BB4
split-complementary
#882BB4 #9BB42B #2BB443
monochromatic
#3D1351 #631F83 #882BB4 #A749D3 #BF7ADF

Accessibility & contrast

On white

6.88
#882BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#882BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BB4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BB4#FFFFFF#000000##FFFFFF
##882BB41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#145CB1
Tritanopia (blue-blind)
#834B6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882bb4;
/* rgb */ color: rgb(136, 43, 180);
/* oklch */ color: oklch(49.5% 0.207 312.1);
Tailwind
colors: {
  custom: {
    50: '#af6ecb',
    500: '#882bb4',
    950: '#000000',
  },
}
SCSS
$custom: #882bb4;
$custom-light: #af6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#882bb4",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 280.73,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.20737,
    "h": 312.1
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#882BB4
secondary
#8EC773
accent
#E54377
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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