#882DCE#882DCE

#882DCE is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.7% C 0.230 H 305.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#882DCE
RGBrgb(136, 45, 206)
HSLhsl(274, 64%, 49%)
HSVhsv(274, 78%, 81%)
CMYKcmyk(34%, 78.2%, 0%, 19.2%)
CIE-LABlab(40.52, 64.44, -66.01)
CIE-LCHlch(40.52, 92.25, 314.31°)
OKLaboklab(51.65% 0.1317 -0.1881)
OKLCHoklch(51.65% 0.23 305)
XYZxyz(22.2298, 11.5674, 59.4422)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DCE #73CE2D
analogous
#382DCE #882DCE #CE2DC4
triadic
#882DCE #CE882D #2DCE88
tetradic
#882DCE #CE382D #73CE2D #2DC4CE
square
#882DCE #CE382D #73CE2D #2DC4CE
split-complementary
#882DCE #C4CE2D #2DCE38
monochromatic
#46176A #67229C #882DCE #A45DDC #C08FE7

Accessibility & contrast

On white

6.34
#882DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#882DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882DCE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DCE#FFFFFF#000000##FFFFFF
##882DCE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#7B577E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #882dce;
/* rgb */ color: rgb(136, 45, 206);
/* oklch */ color: oklch(51.7% 0.230 305.0);
Tailwind
colors: {
  custom: {
    50: '#b171de',
    500: '#882dce',
    950: '#000000',
  },
}
SCSS
$custom: #882dce;
$custom-light: #b171de;
$custom-dark: #000000;
JSON
{
  "hex": "#882dce",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 273.913,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.22958,
    "h": 305
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#882DCE
secondary
#A7D186
accent
#E74189
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #882DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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