#882EB6#882EB6

#882EB6 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.206 H 311.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#882EB6
RGBrgb(136, 46, 182)
HSLhsl(280, 60%, 45%)
HSVhsv(280, 75%, 71%)
CMYKcmyk(25.3%, 74.7%, 0%, 28.6%)
CIE-LABlab(38.84, 58.88, -54.70)
CIE-LCHlch(38.84, 80.37, 317.11°)
OKLaboklab(49.91% 0.1359 -0.1549)
OKLCHoklch(49.91% 0.206 311.3)
XYZxyz(19.5722, 10.5661, 45.2553)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EB6 #5CB62E
analogous
#442EB6 #882EB6 #B62EA0
triadic
#882EB6 #B6882E #2EB688
tetradic
#882EB6 #B6442E #5CB62E #2EA0B6
square
#882EB6 #B6442E #5CB62E #2EA0B6
split-complementary
#882EB6 #A0B62E #2EB644
monochromatic
#3F1554 #632285 #882EB6 #A64FD2 #BF80DF

Accessibility & contrast

On white

6.75
#882EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#882EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EB6
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EB6#FFFFFF#000000##FFFFFF
##882EB61.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BA
Deuteranopia (green-blind)
#155DB3
Tritanopia (blue-blind)
#824D70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882eb6;
/* rgb */ color: rgb(136, 46, 182);
/* oklch */ color: oklch(49.9% 0.206 311.3);
Tailwind
colors: {
  custom: {
    50: '#af70cd',
    500: '#882eb6',
    950: '#000000',
  },
}
SCSS
$custom: #882eb6;
$custom-light: #af70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#882eb6",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 279.706,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49907,
    "c": 0.20603,
    "h": 311.3
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#882EB6
secondary
#93C878
accent
#E3457A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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