#882DBB#882DBB

#882DBB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.2% C 0.212 H 309.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#882DBB
RGBrgb(136, 45, 187)
HSLhsl(278, 61%, 45%)
HSVhsv(278, 76%, 73%)
CMYKcmyk(27.3%, 75.9%, 0%, 26.7%)
CIE-LABlab(39.07, 60.32, -57.28)
CIE-LCHlch(39.07, 83.19, 316.48°)
OKLaboklab(50.18% 0.1359 -0.1624)
OKLCHoklch(50.18% 0.212 309.9)
XYZxyz(20.0596, 10.6993, 48.0125)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DBB #60BB2D
analogous
#412DBB #882DBB #BB2DA7
triadic
#882DBB #BB882D #2DBB88
tetradic
#882DBB #BB412D #60BB2D #2DA7BB
square
#882DBB #BB412D #60BB2D #2DA7BB
split-complementary
#882DBB #A7BB2D #2DBB41
monochromatic
#401558 #64218A #882DBB #A550D5 #BF82E1

Accessibility & contrast

On white

6.69
#882DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#882DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DBB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DBB#FFFFFF#000000##FFFFFF
##882DBB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#814F73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882dbb;
/* rgb */ color: rgb(136, 45, 187);
/* oklch */ color: oklch(50.2% 0.212 309.9);
Tailwind
colors: {
  custom: {
    50: '#b070d0',
    500: '#882dbb',
    950: '#000000',
  },
}
SCSS
$custom: #882dbb;
$custom-light: #b070d0;
$custom-dark: #000000;
JSON
{
  "hex": "#882dbb",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 278.451,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50183,
    "c": 0.21178,
    "h": 309.9
  },
  "luminance": 0.10699
}

Semantic roles & 50–950 ramp

primary
#882DBB
secondary
#97CA7A
accent
#E4437D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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