#882AAE#882AAE

#882AAE is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.203 H 314.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#882AAE
RGBrgb(136, 42, 174)
HSLhsl(283, 61%, 42%)
HSVhsv(283, 76%, 68%)
CMYKcmyk(21.8%, 75.9%, 0%, 31.8%)
CIE-LABlab(37.75, 58.72, -51.73)
CIE-LCHlch(37.75, 78.26, 318.62°)
OKLaboklab(48.96% 0.1409 -0.1461)
OKLCHoklch(48.96% 0.203 314)
XYZxyz(18.6200, 9.9468, 40.9753)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AAE #50AE2A
analogous
#462AAE #882AAE #AE2A92
triadic
#882AAE #AE882A #2AAE88
tetradic
#882AAE #AE462A #50AE2A #2A92AE
square
#882AAE #AE462A #50AE2A #2A92AE
split-complementary
#882AAE #92AE2A #2AAE46
monochromatic
#3B124B #611E7D #882AAE #A943D2 #BF75DE

Accessibility & contrast

On white

7.03
#882AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#882AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AAE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AAE#FFFFFF#000000##FFFFFF
##882AAE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1F5BAB
Tritanopia (blue-blind)
#84486B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882aae;
/* rgb */ color: rgb(136, 42, 174);
/* oklch */ color: oklch(49.0% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#af6ec7',
    500: '#882aae',
    950: '#000000',
  },
}
SCSS
$custom: #882aae;
$custom-light: #af6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#882aae",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 282.727,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48955,
    "c": 0.20294,
    "h": 314
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#882AAE
secondary
#88C56F
accent
#E44472
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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