#882EB3#882EB3

#882EB3 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.203 H 312.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#882EB3
RGBrgb(136, 46, 179)
HSLhsl(281, 59%, 44%)
HSVhsv(281, 74%, 70%)
CMYKcmyk(24%, 74.3%, 0%, 29.8%)
CIE-LABlab(38.63, 58.25, -53.28)
CIE-LCHlch(38.63, 78.94, 317.55°)
OKLaboklab(49.69% 0.1364 -0.1507)
OKLCHoklch(49.69% 0.203 312.1)
XYZxyz(19.2655, 10.4434, 43.6400)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EB3 #59B32E
analogous
#462EB3 #882EB3 #B32E9C
triadic
#882EB3 #B3882E #2EB388
tetradic
#882EB3 #B3462E #59B32E #2E9CB3
square
#882EB3 #B3462E #59B32E #2E9CB3
split-complementary
#882EB3 #9CB32E #2EB346
monochromatic
#3E1552 #632182 #882EB3 #A64DD1 #BF7EDE

Accessibility & contrast

On white

6.80
#882EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#882EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EB3
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EB3#FFFFFF#000000##FFFFFF
##882EB31.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#1B5DB0
Tritanopia (blue-blind)
#834C6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882eb3;
/* rgb */ color: rgb(136, 46, 179);
/* oklch */ color: oklch(49.7% 0.203 312.1);
Tailwind
colors: {
  custom: {
    50: '#af70ca',
    500: '#882eb3',
    950: '#000000',
  },
}
SCSS
$custom: #882eb3;
$custom-light: #af70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#882eb3",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 280.602,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.20321,
    "h": 312.1
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#882EB3
secondary
#90C676
accent
#E24678
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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