#882BA0#882BA0

#882BA0 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.189 H 318.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#882BA0
RGBrgb(136, 43, 160)
HSLhsl(288, 58%, 40%)
HSVhsv(288, 73%, 63%)
CMYKcmyk(15%, 73.1%, 0%, 37.3%)
CIE-LABlab(36.93, 55.54, -44.65)
CIE-LCHlch(36.93, 71.27, 321.20°)
OKLaboklab(48.08% 0.1416 -0.1253)
OKLCHoklch(48.08% 0.189 318.5)
XYZxyz(17.3615, 9.5009, 34.1702)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BA0 #43A02B
analogous
#4D2BA0 #882BA0 #A02B7E
triadic
#882BA0 #A0882B #2BA088
tetradic
#882BA0 #A04D2B #43A02B #2B7EA0
square
#882BA0 #A04D2B #43A02B #2B7EA0
split-complementary
#882BA0 #7EA02B #2BA04D
monochromatic
#361140 #5F1E70 #882BA0 #AE3DCB #C26ED8

Accessibility & contrast

On white

7.24
#882BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#882BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882BA0
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BA0#FFFFFF#000000##FFFFFF
##882BA01.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#315A9D
Tritanopia (blue-blind)
#884263
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882ba0;
/* rgb */ color: rgb(136, 43, 160);
/* oklch */ color: oklch(48.1% 0.189 318.5);
Tailwind
colors: {
  custom: {
    50: '#ae6ebd',
    500: '#882ba0',
    950: '#000000',
  },
}
SCSS
$custom: #882ba0;
$custom-light: #ae6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#882ba0",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 287.692,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48076,
    "c": 0.18913,
    "h": 318.5
  },
  "luminance": 0.095
}

Semantic roles & 50–950 ramp

primary
#882BA0
secondary
#7ABF68
accent
#E14767
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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