#882DB9#882DB9

#882DB9 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.210 H 310.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#882DB9
RGBrgb(136, 45, 185)
HSLhsl(279, 61%, 45%)
HSVhsv(279, 76%, 73%)
CMYKcmyk(26.5%, 75.7%, 0%, 27.5%)
CIE-LABlab(38.92, 59.90, -56.34)
CIE-LCHlch(38.92, 82.23, 316.75°)
OKLaboklab(50.03% 0.1363 -0.1597)
OKLCHoklch(50.03% 0.21 310.5)
XYZxyz(19.8470, 10.6143, 46.8928)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DB9 #5EB92D
analogous
#422DB9 #882DB9 #B92DA4
triadic
#882DB9 #B9882D #2DB988
tetradic
#882DB9 #B9422D #5EB92D #2DA4B9
square
#882DB9 #B9422D #5EB92D #2DA4B9
split-complementary
#882DB9 #A4B92D #2DB942
monochromatic
#401557 #642188 #882DB9 #A64FD4 #BF80E0

Accessibility & contrast

On white

6.72
#882DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#882DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DB9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DB9#FFFFFF#000000##FFFFFF
##882DB91.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#085DB6
Tritanopia (blue-blind)
#814E72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882db9;
/* rgb */ color: rgb(136, 45, 185);
/* oklch */ color: oklch(50.0% 0.210 310.5);
Tailwind
colors: {
  custom: {
    50: '#af70cf',
    500: '#882db9',
    950: '#000000',
  },
}
SCSS
$custom: #882db9;
$custom-light: #af70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#882db9",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 279,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.20991,
    "h": 310.5
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#882DB9
secondary
#95C979
accent
#E4447C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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