#882ABB#882ABB

#882ABB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.9% C 0.215 H 310.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#882ABB
RGBrgb(136, 42, 187)
HSLhsl(279, 63%, 45%)
HSVhsv(279, 78%, 73%)
CMYKcmyk(27.3%, 77.5%, 0%, 26.7%)
CIE-LABlab(38.69, 61.42, -57.90)
CIE-LCHlch(38.69, 84.41, 316.69°)
OKLaboklab(49.92% 0.1385 -0.1642)
OKLCHoklch(49.92% 0.215 310.1)
XYZxyz(19.9492, 10.4785, 47.9757)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882ABB #5DBB2A
analogous
#402ABB #882ABB #BB2AA5
triadic
#882ABB #BB882A #2ABB88
tetradic
#882ABB #BB402A #5DBB2A #2AA5BB
square
#882ABB #BB402A #5DBB2A #2AA5BB
split-complementary
#882ABB #A5BB2A #2ABB40
monochromatic
#3F1457 #641F89 #882ABB #A64CD7 #BF7DE2

Accessibility & contrast

On white

6.78
#882ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#882ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882ABB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882ABB#FFFFFF#000000##FFFFFF
##882ABB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#814E72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882abb;
/* rgb */ color: rgb(136, 42, 187);
/* oklch */ color: oklch(49.9% 0.215 310.1);
Tailwind
colors: {
  custom: {
    50: '#b06ed0',
    500: '#882abb',
    950: '#000000',
  },
}
SCSS
$custom: #882abb;
$custom-light: #b06ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#882abb",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 278.897,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.21483,
    "h": 310.1
  },
  "luminance": 0.10478
}

Semantic roles & 50–950 ramp

primary
#882ABB
secondary
#94CA76
accent
#E6417B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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