#882EB5#882EB5

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

Color values

HEX#882EB5
RGBrgb(136, 46, 181)
HSLhsl(280, 59%, 45%)
HSVhsv(280, 75%, 71%)
CMYKcmyk(24.9%, 74.6%, 0%, 29%)
CIE-LABlab(38.77, 58.67, -54.23)
CIE-LCHlch(38.77, 79.89, 317.25°)
OKLaboklab(49.83% 0.1361 -0.1535)
OKLCHoklch(49.83% 0.205 311.6)
XYZxyz(19.4693, 10.5249, 44.7130)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EB5 #5BB52E
analogous
#452EB5 #882EB5 #B52E9F
triadic
#882EB5 #B5882E #2EB588
tetradic
#882EB5 #B5452E #5BB52E #2E9FB5
square
#882EB5 #B5452E #5BB52E #2E9FB5
split-complementary
#882EB5 #9FB52E #2EB545
monochromatic
#3F1553 #632284 #882EB5 #A64ED2 #BF7FDE

Accessibility & contrast

On white

6.76
#882EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882EB5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EB5#FFFFFF#000000##FFFFFF
##882EB51.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#175DB2
Tritanopia (blue-blind)
#824D6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882eb5;
/* rgb */ color: rgb(136, 46, 181);
/* oklch */ color: oklch(49.8% 0.205 311.6);
Tailwind
colors: {
  custom: {
    50: '#af70cc',
    500: '#882eb5',
    950: '#000000',
  },
}
SCSS
$custom: #882eb5;
$custom-light: #af70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#882eb5",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 280,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.20509,
    "h": 311.6
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#882EB5
secondary
#92C778
accent
#E3457A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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