#882AB8#882AB8

#882AB8 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.212 H 311.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#882AB8
RGBrgb(136, 42, 184)
HSLhsl(280, 63%, 44%)
HSVhsv(280, 77%, 72%)
CMYKcmyk(26.1%, 77.2%, 0%, 27.8%)
CIE-LABlab(38.47, 60.79, -56.49)
CIE-LCHlch(38.47, 82.99, 317.10°)
OKLaboklab(49.69% 0.1391 -0.1601)
OKLCHoklch(49.69% 0.212 311)
XYZxyz(19.6314, 10.3513, 46.3020)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AB8 #5AB82A
analogous
#412AB8 #882AB8 #B82AA1
triadic
#882AB8 #B8882A #2AB888
tetradic
#882AB8 #B8412A #5AB82A #2AA1B8
square
#882AB8 #B8412A #5AB82A #2AA1B8
split-complementary
#882AB8 #A1B82A #2AB841
monochromatic
#3E1354 #631F86 #882AB8 #A64AD6 #BF7BE1

Accessibility & contrast

On white

6.84
#882AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#882AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882AB8
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AB8#FFFFFF#000000##FFFFFF
##882AB81.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#045CB5
Tritanopia (blue-blind)
#824C70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882ab8;
/* rgb */ color: rgb(136, 42, 184);
/* oklch */ color: oklch(49.7% 0.212 311.0);
Tailwind
colors: {
  custom: {
    50: '#b06ece',
    500: '#882ab8',
    950: '#000000',
  },
}
SCSS
$custom: #882ab8;
$custom-light: #b06ece;
$custom-dark: #000000;
JSON
{
  "hex": "#882ab8",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 279.718,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.21207,
    "h": 311
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

primary
#882AB8
secondary
#91C975
accent
#E64279
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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