#882EB8#882EB8

#882EB8 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.1% C 0.208 H 310.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#882EB8
RGBrgb(136, 46, 184)
HSLhsl(279, 60%, 45%)
HSVhsv(279, 75%, 72%)
CMYKcmyk(26.1%, 75%, 0%, 27.8%)
CIE-LABlab(38.98, 59.30, -55.65)
CIE-LCHlch(38.98, 81.33, 316.82°)
OKLaboklab(50.05% 0.1355 -0.1577)
OKLCHoklch(50.05% 0.208 310.7)
XYZxyz(19.7804, 10.6494, 46.3516)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EB8 #5EB82E
analogous
#432EB8 #882EB8 #B82EA3
triadic
#882EB8 #B8882E #2EB888
tetradic
#882EB8 #B8432E #5EB82E #2EA3B8
square
#882EB8 #B8432E #5EB82E #2EA3B8
split-complementary
#882EB8 #A3B82E #2EB843
monochromatic
#401656 #642287 #882EB8 #A650D3 #BF81DF

Accessibility & contrast

On white

6.71
#882EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#882EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EB8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EB8#FFFFFF#000000##FFFFFF
##882EB81.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0F5DB5
Tritanopia (blue-blind)
#814E71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882eb8;
/* rgb */ color: rgb(136, 46, 184);
/* oklch */ color: oklch(50.1% 0.208 310.7);
Tailwind
colors: {
  custom: {
    50: '#af70ce',
    500: '#882eb8',
    950: '#000000',
  },
}
SCSS
$custom: #882eb8;
$custom-light: #af70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#882eb8",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 279.13,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.20791,
    "h": 310.7
  },
  "luminance": 0.10649
}

Semantic roles & 50–950 ramp

primary
#882EB8
secondary
#95C879
accent
#E3457C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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