#882DA8#882DA8

#882DA8 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.194 H 315.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#882DA8
RGBrgb(136, 45, 168)
HSLhsl(284, 58%, 42%)
HSVhsv(284, 73%, 66%)
CMYKcmyk(19%, 73.2%, 0%, 34.1%)
CIE-LABlab(37.73, 56.37, -48.17)
CIE-LCHlch(37.73, 74.14, 319.48°)
OKLaboklab(48.81% 0.1388 -0.1357)
OKLCHoklch(48.81% 0.194 315.7)
XYZxyz(18.1585, 9.9389, 38.0001)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DA8 #4DA82D
analogous
#4B2DA8 #882DA8 #A82D8B
triadic
#882DA8 #A8882D #2DA888
tetradic
#882DA8 #A84B2D #4DA82D #2D8BA8
square
#882DA8 #A84B2D #4DA82D #2D8BA8
split-complementary
#882DA8 #8BA82D #2DA84B
monochromatic
#3A1347 #612078 #882DA8 #AA45CD #C075DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##882DA8#FFFFFF#000000##FFFFFF
##882DA81.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)
#0054AB
Deuteranopia (green-blind)
#2B5BA5
Tritanopia (blue-blind)
#864768
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #882da8;
/* rgb */ color: rgb(136, 45, 168);
/* oklch */ color: oklch(48.8% 0.194 315.7);
Tailwind
colors: {
  custom: {
    50: '#af6fc2',
    500: '#882da8',
    950: '#000000',
  },
}
SCSS
$custom: #882da8;
$custom-light: #af6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#882da8",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 284.39,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.19411,
    "h": 315.7
  },
  "luminance": 0.09938
}

Semantic roles & 50–950 ramp

primary
#882DA8
secondary
#85C26F
accent
#E1476F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #882DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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