#882DAB#882DAB

#882DAB is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.197 H 314.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#882DAB
RGBrgb(136, 45, 171)
HSLhsl(283, 58%, 42%)
HSVhsv(283, 74%, 67%)
CMYKcmyk(20.5%, 73.7%, 0%, 32.9%)
CIE-LABlab(37.94, 56.98, -49.63)
CIE-LCHlch(37.94, 75.57, 318.94°)
OKLaboklab(49.02% 0.1385 -0.14)
OKLCHoklch(49.02% 0.197 314.7)
XYZxyz(18.4412, 10.0519, 39.4890)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DAB #50AB2D
analogous
#492DAB #882DAB #AB2D8F
triadic
#882DAB #AB882D #2DAB88
tetradic
#882DAB #AB492D #50AB2D #2D8FAB
square
#882DAB #AB492D #50AB2D #2D8FAB
split-complementary
#882DAB #8FAB2D #2DAB49
monochromatic
#3B144A #61207B #882DAB #A947CE #BF77DB

Accessibility & contrast

On white

6.98
#882DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#882DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DAB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DAB#FFFFFF#000000##FFFFFF
##882DAB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#275CA8
Tritanopia (blue-blind)
#85486A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882dab;
/* rgb */ color: rgb(136, 45, 171);
/* oklch */ color: oklch(49.0% 0.197 314.7);
Tailwind
colors: {
  custom: {
    50: '#af6fc5',
    500: '#882dab',
    950: '#000000',
  },
}
SCSS
$custom: #882dab;
$custom-light: #af6fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#882dab",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 283.333,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49023,
    "c": 0.19688,
    "h": 314.7
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#882DAB
secondary
#88C371
accent
#E24671
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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