#882CCE#882CCE

#882CCE is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.6% C 0.231 H 305.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#882CCE
RGBrgb(136, 44, 206)
HSLhsl(274, 65%, 49%)
HSVhsv(274, 79%, 81%)
CMYKcmyk(34%, 78.6%, 0%, 19.2%)
CIE-LABlab(40.40, 64.80, -66.21)
CIE-LCHlch(40.40, 92.64, 314.38°)
OKLaboklab(51.57% 0.1324 -0.1887)
OKLCHoklch(51.57% 0.231 305.1)
XYZxyz(22.1921, 11.4920, 59.4296)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CCE #72CE2C
analogous
#372CCE #882CCE #CE2CC3
triadic
#882CCE #CE882C #2CCE88
tetradic
#882CCE #CE372C #72CE2C #2CC3CE
square
#882CCE #CE372C #72CE2C #2CC3CE
split-complementary
#882CCE #C3CE2C #2CCE37
monochromatic
#451669 #67219C #882CCE #A45BDC #C08EE7

Accessibility & contrast

On white

6.37
#882CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#882CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882CCE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CCE#FFFFFF#000000##FFFFFF
##882CCE1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#7B577D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #882cce;
/* rgb */ color: rgb(136, 44, 206);
/* oklch */ color: oklch(51.6% 0.231 305.1);
Tailwind
colors: {
  custom: {
    50: '#b170de',
    500: '#882cce',
    950: '#000000',
  },
}
SCSS
$custom: #882cce;
$custom-light: #b170de;
$custom-dark: #000000;
JSON
{
  "hex": "#882cce",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 206
  },
  "hsl": {
    "h": 274.074,
    "s": 64.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51569,
    "c": 0.23051,
    "h": 305.1
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#882CCE
secondary
#A6D185
accent
#E84089
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #882CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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