#882BB9#882BB9

#882BB9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.212 H 310.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#882BB9
RGBrgb(136, 43, 185)
HSLhsl(279, 62%, 45%)
HSVhsv(279, 77%, 73%)
CMYKcmyk(26.5%, 76.8%, 0%, 27.5%)
CIE-LABlab(38.66, 60.64, -56.76)
CIE-LCHlch(38.66, 83.06, 316.89°)
OKLaboklab(49.85% 0.138 -0.1609)
OKLCHoklch(49.85% 0.212 310.6)
XYZxyz(19.7725, 10.4652, 46.8679)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BB9 #5CB92B
analogous
#412BB9 #882BB9 #B92BA3
triadic
#882BB9 #B9882B #2BB988
tetradic
#882BB9 #B9412B #5CB92B #2BA3B9
square
#882BB9 #B9412B #5CB92B #2BA3B9
split-complementary
#882BB9 #A3B92B #2BB941
monochromatic
#3F1456 #631F87 #882BB9 #A64CD5 #BF7EE1

Accessibility & contrast

On white

6.79
#882BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#882BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BB9
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BB9#FFFFFF#000000##FFFFFF
##882BB91.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#025CB6
Tritanopia (blue-blind)
#814D71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882bb9;
/* rgb */ color: rgb(136, 43, 185);
/* oklch */ color: oklch(49.9% 0.212 310.6);
Tailwind
colors: {
  custom: {
    50: '#b06fcf',
    500: '#882bb9',
    950: '#000000',
  },
}
SCSS
$custom: #882bb9;
$custom-light: #b06fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#882bb9",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 279.296,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.21198,
    "h": 310.6
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#882BB9
secondary
#93C976
accent
#E5427B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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