#882EC1#882EC1

#882EC1 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.216 H 308.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#882EC1
RGBrgb(136, 46, 193)
HSLhsl(277, 62%, 47%)
HSVhsv(277, 76%, 76%)
CMYKcmyk(29.5%, 76.2%, 0%, 24.3%)
CIE-LABlab(39.65, 61.23, -59.87)
CIE-LCHlch(39.65, 85.64, 315.65°)
OKLaboklab(50.73% 0.1338 -0.17)
OKLCHoklch(50.73% 0.216 308.2)
XYZxyz(20.7540, 11.0388, 51.4791)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EC1 #67C12E
analogous
#3F2EC1 #882EC1 #C12EB0
triadic
#882EC1 #C1882E #2EC188
tetradic
#882EC1 #C13F2E #67C12E #2EB0C1
square
#882EC1 #C13F2E #67C12E #2EB0C1
split-complementary
#882EC1 #B0C12E #2EC13F
monochromatic
#42165E #652290 #882EC1 #A556D7 #BF87E2

Accessibility & contrast

On white

6.55
#882EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#882EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EC1
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EC1#FFFFFF#000000##FFFFFF
##882EC11.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#7F5276
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #882ec1;
/* rgb */ color: rgb(136, 46, 193);
/* oklch */ color: oklch(50.7% 0.216 308.2);
Tailwind
colors: {
  custom: {
    50: '#b070d5',
    500: '#882ec1',
    950: '#000000',
  },
}
SCSS
$custom: #882ec1;
$custom-light: #b070d5;
$custom-dark: #000000;
JSON
{
  "hex": "#882ec1",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 276.735,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.21637,
    "h": 308.2
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#882EC1
secondary
#9DCC7F
accent
#E54382
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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