#882BA5#882BA5

#882BA5 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.194 H 316.8°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#882BA5
RGBrgb(136, 43, 165)
HSLhsl(286, 59%, 41%)
HSVhsv(286, 74%, 65%)
CMYKcmyk(17.6%, 73.9%, 0%, 35.3%)
CIE-LABlab(37.26, 56.53, -47.13)
CIE-LCHlch(37.26, 73.60, 320.18°)
OKLaboklab(48.42% 0.1411 -0.1326)
OKLCHoklch(48.42% 0.194 316.8)
XYZxyz(17.8077, 9.6793, 36.5203)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BA5 #48A52B
analogous
#4B2BA5 #882BA5 #A52B85
triadic
#882BA5 #A5882B #2BA588
tetradic
#882BA5 #A54B2B #48A52B #2B85A5
square
#882BA5 #A54B2B #48A52B #2B85A5
split-complementary
#882BA5 #85A52B #2BA54B
monochromatic
#381244 #601E74 #882BA5 #AC40CD #C171DA

Accessibility & contrast

On white

7.15
#882BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#882BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882BA5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BA5#FFFFFF#000000##FFFFFF
##882BA51.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#2C5AA2
Tritanopia (blue-blind)
#864566
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882ba5;
/* rgb */ color: rgb(136, 43, 165);
/* oklch */ color: oklch(48.4% 0.194 316.8);
Tailwind
colors: {
  custom: {
    50: '#af6ec0',
    500: '#882ba5',
    950: '#000000',
  },
}
SCSS
$custom: #882ba5;
$custom-light: #af6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#882ba5",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 285.738,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48415,
    "c": 0.19366,
    "h": 316.8
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#882BA5
secondary
#7FC16B
accent
#E2466B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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