#882CB9#882CB9

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

Color values

HEX#882CB9
RGBrgb(136, 44, 185)
HSLhsl(279, 62%, 45%)
HSVhsv(279, 76%, 73%)
CMYKcmyk(26.5%, 76.2%, 0%, 27.5%)
CIE-LABlab(38.79, 60.27, -56.55)
CIE-LCHlch(38.79, 82.65, 316.82°)
OKLaboklab(49.94% 0.1372 -0.1603)
OKLCHoklch(49.94% 0.211 310.6)
XYZxyz(19.8093, 10.5388, 46.8802)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CB9 #5DB92C
analogous
#422CB9 #882CB9 #B92CA3
triadic
#882CB9 #B9882C #2CB988
tetradic
#882CB9 #B9422C #5DB92C #2CA3B9
square
#882CB9 #B9422C #5DB92C #2CA3B9
split-complementary
#882CB9 #A3B92C #2CB942
monochromatic
#3F1456 #642088 #882CB9 #A64DD5 #BF7FE1

Accessibility & contrast

On white

6.76
#882CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882CB9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CB9#FFFFFF#000000##FFFFFF
##882CB91.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#055DB6
Tritanopia (blue-blind)
#814E71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882cb9;
/* rgb */ color: rgb(136, 44, 185);
/* oklch */ color: oklch(49.9% 0.211 310.6);
Tailwind
colors: {
  custom: {
    50: '#b06fcf',
    500: '#882cb9',
    950: '#000000',
  },
}
SCSS
$custom: #882cb9;
$custom-light: #b06fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#882cb9",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 279.149,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49942,
    "c": 0.21096,
    "h": 310.6
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #882CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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