#882EC4#882EC4

#882EC4 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.0% C 0.219 H 307.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#882EC4
RGBrgb(136, 46, 196)
HSLhsl(276, 62%, 47%)
HSVhsv(276, 77%, 77%)
CMYKcmyk(30.6%, 76.5%, 0%, 23.1%)
CIE-LABlab(39.87, 61.88, -61.25)
CIE-LCHlch(39.87, 87.07, 315.29°)
OKLaboklab(50.96% 0.1332 -0.1741)
OKLCHoklch(50.96% 0.219 307.4)
XYZxyz(21.0920, 11.1740, 53.2595)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EC4 #6AC42E
analogous
#3D2EC4 #882EC4 #C42EB5
triadic
#882EC4 #C4882E #2EC488
tetradic
#882EC4 #C43D2E #6AC42E #2EB5C4
square
#882EC4 #C43D2E #6AC42E #2EB5C4
split-complementary
#882EC4 #B5C42E #2EC43D
monochromatic
#431761 #662292 #882EC4 #A458D8 #BF89E3

Accessibility & contrast

On white

6.49
#882EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#882EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EC4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EC4#FFFFFF#000000##FFFFFF
##882EC41.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#7E5478
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #882ec4;
/* rgb */ color: rgb(136, 46, 196);
/* oklch */ color: oklch(51.0% 0.219 307.4);
Tailwind
colors: {
  custom: {
    50: '#b071d7',
    500: '#882ec4',
    950: '#000000',
  },
}
SCSS
$custom: #882ec4;
$custom-light: #b071d7;
$custom-dark: #000000;
JSON
{
  "hex": "#882ec4",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 276,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.21921,
    "h": 307.4
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#882EC4
secondary
#9FCD81
accent
#E54384
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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