#882DB6#882DB6

#882DB6 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.8% C 0.207 H 311.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#882DB6
RGBrgb(136, 45, 182)
HSLhsl(280, 60%, 45%)
HSVhsv(280, 75%, 71%)
CMYKcmyk(25.3%, 75.3%, 0%, 28.6%)
CIE-LABlab(38.71, 59.26, -54.92)
CIE-LCHlch(38.71, 80.80, 317.18°)
OKLaboklab(49.81% 0.1368 -0.1555)
OKLCHoklch(49.81% 0.207 311.3)
XYZxyz(19.5336, 10.4889, 45.2425)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DB6 #5BB62D
analogous
#442DB6 #882DB6 #B62DA0
triadic
#882DB6 #B6882D #2DB688
tetradic
#882DB6 #B6442D #5BB62D #2DA0B6
square
#882DB6 #B6442D #5BB62D #2DA0B6
split-complementary
#882DB6 #A0B62D #2DB644
monochromatic
#3F1554 #632185 #882DB6 #A64DD3 #BF7EDF

Accessibility & contrast

On white

6.78
#882DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#882DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DB6
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DB6#FFFFFF#000000##FFFFFF
##882DB61.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#135DB3
Tritanopia (blue-blind)
#824D70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882db6;
/* rgb */ color: rgb(136, 45, 182);
/* oklch */ color: oklch(49.8% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#af6fcd',
    500: '#882db6',
    950: '#000000',
  },
}
SCSS
$custom: #882db6;
$custom-light: #af6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#882db6",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 279.854,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49813,
    "c": 0.20711,
    "h": 311.3
  },
  "luminance": 0.10488
}

Semantic roles & 50–950 ramp

primary
#882DB6
secondary
#92C877
accent
#E3447A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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