#882DB8#882DB8

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

Color values

HEX#882DB8
RGBrgb(136, 45, 184)
HSLhsl(279, 61%, 45%)
HSVhsv(279, 76%, 72%)
CMYKcmyk(26.1%, 75.5%, 0%, 27.8%)
CIE-LABlab(38.85, 59.69, -55.87)
CIE-LCHlch(38.85, 81.75, 316.89°)
OKLaboklab(49.96% 0.1364 -0.1583)
OKLCHoklch(49.96% 0.209 310.8)
XYZxyz(19.7418, 10.5722, 46.3388)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DB8 #5DB82D
analogous
#432DB8 #882DB8 #B82DA2
triadic
#882DB8 #B8882D #2DB888
tetradic
#882DB8 #B8432D #5DB82D #2DA2B8
square
#882DB8 #B8432D #5DB82D #2DA2B8
split-complementary
#882DB8 #A2B82D #2DB843
monochromatic
#3F1556 #642187 #882DB8 #A64ED4 #BF80E0

Accessibility & contrast

On white

6.74
#882DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#882DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DB8
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DB8#FFFFFF#000000##FFFFFF
##882DB81.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0C5DB5
Tritanopia (blue-blind)
#824E71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882db8;
/* rgb */ color: rgb(136, 45, 184);
/* oklch */ color: oklch(50.0% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#af70ce',
    500: '#882db8',
    950: '#000000',
  },
}
SCSS
$custom: #882db8;
$custom-light: #af70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#882db8",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 279.281,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4996,
    "c": 0.20898,
    "h": 310.8
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#882DB8
secondary
#94C978
accent
#E4447B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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