#882BA1#882BA1

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

Color values

HEX#882BA1
RGBrgb(136, 43, 161)
HSLhsl(287, 58%, 40%)
HSVhsv(287, 73%, 63%)
CMYKcmyk(15.5%, 73.3%, 0%, 36.9%)
CIE-LABlab(37.00, 55.74, -45.15)
CIE-LCHlch(37.00, 71.73, 320.99°)
OKLaboklab(48.14% 0.1416 -0.1268)
OKLCHoklch(48.14% 0.19 318.1)
XYZxyz(17.4493, 9.5360, 34.6328)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BA1 #44A12B
analogous
#4D2BA1 #882BA1 #A12B7F
triadic
#882BA1 #A1882B #2BA188
tetradic
#882BA1 #A14D2B #44A12B #2B7FA1
square
#882BA1 #A14D2B #44A12B #2B7FA1
split-complementary
#882BA1 #7FA12B #2BA14D
monochromatic
#361140 #5F1E71 #882BA1 #AD3ECB #C26ED8

Accessibility & contrast

On white

7.22
#882BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#882BA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882BA1
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BA1#FFFFFF#000000##FFFFFF
##882BA11.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A4
Deuteranopia (green-blind)
#305A9E
Tritanopia (blue-blind)
#874364
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882ba1;
/* rgb */ color: rgb(136, 43, 161);
/* oklch */ color: oklch(48.1% 0.190 318.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ebd',
    500: '#882ba1',
    950: '#000000',
  },
}
SCSS
$custom: #882ba1;
$custom-light: #ae6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#882ba1",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 287.288,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.19004,
    "h": 318.1
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#882BA1
secondary
#7BBF69
accent
#E14767
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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