#882DBE#882DBE

#882DBE is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.215 H 309.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#882DBE
RGBrgb(136, 45, 190)
HSLhsl(278, 62%, 46%)
HSVhsv(278, 76%, 75%)
CMYKcmyk(28.4%, 76.3%, 0%, 25.5%)
CIE-LABlab(39.29, 60.96, -58.68)
CIE-LCHlch(39.29, 84.62, 316.09°)
OKLaboklab(50.41% 0.1353 -0.1665)
OKLCHoklch(50.41% 0.215 309.1)
XYZxyz(20.3841, 10.8291, 49.7216)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DBE #63BE2D
analogous
#3F2DBE #882DBE #BE2DAB
triadic
#882DBE #BE882D #2DBE88
tetradic
#882DBE #BE3F2D #63BE2D #2DABBE
square
#882DBE #BE3F2D #63BE2D #2DABBE
split-complementary
#882DBE #ABBE2D #2DBE3F
monochromatic
#41165B #65218D #882DBE #A552D6 #BF84E2

Accessibility & contrast

On white

6.63
#882DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#882DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DBE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DBE#FFFFFF#000000##FFFFFF
##882DBE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#805074
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #882dbe;
/* rgb */ color: rgb(136, 45, 190);
/* oklch */ color: oklch(50.4% 0.215 309.1);
Tailwind
colors: {
  custom: {
    50: '#b070d2',
    500: '#882dbe',
    950: '#000000',
  },
}
SCSS
$custom: #882dbe;
$custom-light: #b070d2;
$custom-dark: #000000;
JSON
{
  "hex": "#882dbe",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 190
  },
  "hsl": {
    "h": 277.655,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50409,
    "c": 0.21458,
    "h": 309.1
  },
  "luminance": 0.10829
}

Semantic roles & 50–950 ramp

primary
#882DBE
secondary
#99CB7C
accent
#E5437F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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