#882EB2#882EB2

#882EB2 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.202 H 312.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#882EB2
RGBrgb(136, 46, 178)
HSLhsl(281, 59%, 44%)
HSVhsv(281, 74%, 70%)
CMYKcmyk(23.6%, 74.2%, 0%, 30.2%)
CIE-LABlab(38.56, 58.04, -52.80)
CIE-LCHlch(38.56, 78.46, 317.71°)
OKLaboklab(49.62% 0.1365 -0.1493)
OKLCHoklch(49.62% 0.202 312.4)
XYZxyz(19.1648, 10.4031, 43.1093)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EB2 #58B22E
analogous
#462EB2 #882EB2 #B22E9A
triadic
#882EB2 #B2882E #2EB288
tetradic
#882EB2 #B2462E #58B22E #2E9AB2
square
#882EB2 #B2462E #58B22E #2E9AB2
split-complementary
#882EB2 #9AB22E #2EB246
monochromatic
#3E1551 #632181 #882EB2 #A74CD1 #BF7DDD

Accessibility & contrast

On white

6.82
#882EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#882EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EB2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EB2#FFFFFF#000000##FFFFFF
##882EB21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#1D5DAF
Tritanopia (blue-blind)
#834C6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882eb2;
/* rgb */ color: rgb(136, 46, 178);
/* oklch */ color: oklch(49.6% 0.202 312.4);
Tailwind
colors: {
  custom: {
    50: '#af70ca',
    500: '#882eb2',
    950: '#000000',
  },
}
SCSS
$custom: #882eb2;
$custom-light: #af70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#882eb2",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 280.909,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49617,
    "c": 0.20228,
    "h": 312.4
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#882EB2
secondary
#8FC676
accent
#E24677
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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