#882BA3#882BA3

#882BA3 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.192 H 317.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#882BA3
RGBrgb(136, 43, 163)
HSLhsl(287, 58%, 40%)
HSVhsv(287, 74%, 64%)
CMYKcmyk(16.6%, 73.6%, 0%, 36.1%)
CIE-LABlab(37.13, 56.14, -46.14)
CIE-LCHlch(37.13, 72.67, 320.58°)
OKLaboklab(48.28% 0.1414 -0.1297)
OKLCHoklch(48.28% 0.192 317.5)
XYZxyz(17.6271, 9.6071, 35.5691)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BA3 #46A32B
analogous
#4C2BA3 #882BA3 #A32B82
triadic
#882BA3 #A3882B #2BA388
tetradic
#882BA3 #A34C2B #46A32B #2B82A3
square
#882BA3 #A34C2B #46A32B #2B82A3
split-complementary
#882BA3 #82A32B #2BA34C
monochromatic
#371142 #601E73 #882BA3 #AC3FCC #C16FD9

Accessibility & contrast

On white

7.19
#882BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#882BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882BA3
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BA3#FFFFFF#000000##FFFFFF
##882BA31.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#874465
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882ba3;
/* rgb */ color: rgb(136, 43, 163);
/* oklch */ color: oklch(48.3% 0.192 317.5);
Tailwind
colors: {
  custom: {
    50: '#ae6ebf',
    500: '#882ba3',
    950: '#000000',
  },
}
SCSS
$custom: #882ba3;
$custom-light: #ae6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#882ba3",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 286.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.19185,
    "h": 317.5
  },
  "luminance": 0.09606
}

Semantic roles & 50–950 ramp

primary
#882BA3
secondary
#7DC06A
accent
#E14669
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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