#882CBB#882CBB

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

Color values

HEX#882CBB
RGBrgb(136, 44, 187)
HSLhsl(279, 62%, 45%)
HSVhsv(279, 76%, 73%)
CMYKcmyk(27.3%, 76.5%, 0%, 26.7%)
CIE-LABlab(38.94, 60.69, -57.49)
CIE-LCHlch(38.94, 83.60, 316.55°)
OKLaboklab(50.09% 0.1368 -0.163)
OKLCHoklch(50.09% 0.213 310)
XYZxyz(20.0219, 10.6239, 48.0000)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CBB #5FBB2C
analogous
#402CBB #882CBB #BB2CA7
triadic
#882CBB #BB882C #2CBB88
tetradic
#882CBB #BB402C #5FBB2C #2CA7BB
square
#882CBB #BB402C #5FBB2C #2CA7BB
split-complementary
#882CBB #A7BB2C #2CBB40
monochromatic
#401558 #642089 #882CBB #A54FD6 #BF80E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##882CBB#FFFFFF#000000##FFFFFF
##882CBB1.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)
#0058BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#814F72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882cbb;
/* rgb */ color: rgb(136, 44, 187);
/* oklch */ color: oklch(50.1% 0.213 310.0);
Tailwind
colors: {
  custom: {
    50: '#b06fd0',
    500: '#882cbb',
    950: '#000000',
  },
}
SCSS
$custom: #882cbb;
$custom-light: #b06fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#882cbb",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 187
  },
  "hsl": {
    "h": 278.601,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50092,
    "c": 0.21281,
    "h": 310
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#882CBB
secondary
#96CA79
accent
#E5437D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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