#882EC3#882EC3

#882EC3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.218 H 307.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#882EC3
RGBrgb(136, 46, 195)
HSLhsl(276, 62%, 47%)
HSVhsv(276, 76%, 76%)
CMYKcmyk(30.3%, 76.4%, 0%, 23.5%)
CIE-LABlab(39.80, 61.67, -60.79)
CIE-LCHlch(39.80, 86.59, 315.41°)
OKLaboklab(50.88% 0.1334 -0.1727)
OKLCHoklch(50.88% 0.218 307.7)
XYZxyz(20.9786, 11.1287, 52.6621)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EC3 #69C32E
analogous
#3E2EC3 #882EC3 #C32EB3
triadic
#882EC3 #C3882E #2EC388
tetradic
#882EC3 #C33E2E #69C32E #2EB3C3
square
#882EC3 #C33E2E #69C32E #2EB3C3
split-complementary
#882EC3 #B3C32E #2EC33E
monochromatic
#431760 #652291 #882EC3 #A457D7 #BF88E3

Accessibility & contrast

On white

6.51
#882EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882EC3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EC3#FFFFFF#000000##FFFFFF
##882EC31.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#7E5377
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #882ec3;
/* rgb */ color: rgb(136, 46, 195);
/* oklch */ color: oklch(50.9% 0.218 307.7);
Tailwind
colors: {
  custom: {
    50: '#b071d6',
    500: '#882ec3',
    950: '#000000',
  },
}
SCSS
$custom: #882ec3;
$custom-light: #b071d6;
$custom-dark: #000000;
JSON
{
  "hex": "#882ec3",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 276.242,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.21826,
    "h": 307.7
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#882EC3
secondary
#9ECD80
accent
#E54383
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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