#882EC5#882EC5

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

Color values

HEX#882EC5
RGBrgb(136, 46, 197)
HSLhsl(276, 62%, 48%)
HSVhsv(276, 77%, 77%)
CMYKcmyk(31%, 76.6%, 0%, 22.7%)
CIE-LABlab(39.95, 62.10, -61.71)
CIE-LCHlch(39.95, 87.55, 315.18°)
OKLaboklab(51.04% 0.133 -0.1755)
OKLCHoklch(51.04% 0.22 307.2)
XYZxyz(21.2062, 11.2197, 53.8610)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EC5 #6BC52E
analogous
#3D2EC5 #882EC5 #C52EB6
triadic
#882EC5 #C5882E #2EC588
tetradic
#882EC5 #C53D2E #6BC52E #2EB6C5
square
#882EC5 #C53D2E #6BC52E #2EB6C5
split-complementary
#882EC5 #B6C52E #2EC53D
monochromatic
#431762 #662293 #882EC5 #A458D8 #BF8AE4

Accessibility & contrast

On white

6.47
#882EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#882EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EC5
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EC5#FFFFFF#000000##FFFFFF
##882EC51.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#7E5479
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #882ec5;
/* rgb */ color: rgb(136, 46, 197);
/* oklch */ color: oklch(51.0% 0.220 307.2);
Tailwind
colors: {
  custom: {
    50: '#b071d8',
    500: '#882ec5',
    950: '#000000',
  },
}
SCSS
$custom: #882ec5;
$custom-light: #b071d8;
$custom-dark: #000000;
JSON
{
  "hex": "#882ec5",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 275.762,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51036,
    "c": 0.22015,
    "h": 307.2
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#882EC5
secondary
#A0CE81
accent
#E54384
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #882EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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