#882BA2#882BA2

#882BA2 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.191 H 317.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#882BA2
RGBrgb(136, 43, 162)
HSLhsl(287, 58%, 40%)
HSVhsv(287, 73%, 64%)
CMYKcmyk(16%, 73.5%, 0%, 36.5%)
CIE-LABlab(37.06, 55.94, -45.65)
CIE-LCHlch(37.06, 72.20, 320.78°)
OKLaboklab(48.21% 0.1415 -0.1283)
OKLCHoklch(48.21% 0.191 317.8)
XYZxyz(17.5379, 9.5714, 35.0991)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BA2 #45A22B
analogous
#4D2BA2 #882BA2 #A22B80
triadic
#882BA2 #A2882B #2BA288
tetradic
#882BA2 #A24D2B #45A22B #2B80A2
square
#882BA2 #A24D2B #45A22B #2B80A2
split-complementary
#882BA2 #80A22B #2BA24D
monochromatic
#371141 #5F1E72 #882BA2 #AD3ECC #C26FD9

Accessibility & contrast

On white

7.21
#882BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882BA2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BA2#FFFFFF#000000##FFFFFF
##882BA21.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#2F5A9F
Tritanopia (blue-blind)
#874364
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882ba2;
/* rgb */ color: rgb(136, 43, 162);
/* oklch */ color: oklch(48.2% 0.191 317.8);
Tailwind
colors: {
  custom: {
    50: '#ae6ebe',
    500: '#882ba2',
    950: '#000000',
  },
}
SCSS
$custom: #882ba2;
$custom-light: #ae6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#882ba2",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 286.891,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48211,
    "c": 0.19094,
    "h": 317.8
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#882BA2
secondary
#7CC069
accent
#E14768
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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