#882EB4#882EB4

#882EB4 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.204 H 311.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#882EB4
RGBrgb(136, 46, 180)
HSLhsl(280, 59%, 44%)
HSVhsv(280, 74%, 71%)
CMYKcmyk(24.4%, 74.4%, 0%, 29.4%)
CIE-LABlab(38.70, 58.46, -53.75)
CIE-LCHlch(38.70, 79.42, 317.40°)
OKLaboklab(49.76% 0.1362 -0.1521)
OKLCHoklch(49.76% 0.204 311.9)
XYZxyz(19.3670, 10.4840, 44.1746)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EB4 #5AB42E
analogous
#452EB4 #882EB4 #B42E9D
triadic
#882EB4 #B4882E #2EB488
tetradic
#882EB4 #B4452E #5AB42E #2E9DB4
square
#882EB4 #B4452E #5AB42E #2E9DB4
split-complementary
#882EB4 #9DB42E #2EB445
monochromatic
#3E1553 #632283 #882EB4 #A64ED2 #BF7EDE

Accessibility & contrast

On white

6.78
#882EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#882EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EB4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EB4#FFFFFF#000000##FFFFFF
##882EB41.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#195DB1
Tritanopia (blue-blind)
#834D6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882eb4;
/* rgb */ color: rgb(136, 46, 180);
/* oklch */ color: oklch(49.8% 0.204 311.9);
Tailwind
colors: {
  custom: {
    50: '#af70cb',
    500: '#882eb4',
    950: '#000000',
  },
}
SCSS
$custom: #882eb4;
$custom-light: #af70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#882eb4",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 280.299,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49762,
    "c": 0.20415,
    "h": 311.9
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#882EB4
secondary
#91C777
accent
#E24579
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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