#882DB7#882DB7

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

Color values

HEX#882DB7
RGBrgb(136, 45, 183)
HSLhsl(280, 61%, 45%)
HSVhsv(280, 75%, 72%)
CMYKcmyk(25.7%, 75.4%, 0%, 28.2%)
CIE-LABlab(38.78, 59.47, -55.40)
CIE-LCHlch(38.78, 81.28, 317.03°)
OKLaboklab(49.89% 0.1366 -0.1569)
OKLCHoklch(49.89% 0.208 311.1)
XYZxyz(19.6373, 10.5304, 45.7887)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DB7 #5CB72D
analogous
#432DB7 #882DB7 #B72DA1
triadic
#882DB7 #B7882D #2DB788
tetradic
#882DB7 #B7432D #5CB72D #2DA1B7
square
#882DB7 #B7432D #5CB72D #2DA1B7
split-complementary
#882DB7 #A1B72D #2DB743
monochromatic
#3F1555 #632186 #882DB7 #A64ED3 #BF7FDF

Accessibility & contrast

On white

6.76
#882DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882DB7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DB7#FFFFFF#000000##FFFFFF
##882DB71.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#105DB4
Tritanopia (blue-blind)
#824D70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882db7;
/* rgb */ color: rgb(136, 45, 183);
/* oklch */ color: oklch(49.9% 0.208 311.1);
Tailwind
colors: {
  custom: {
    50: '#af70cd',
    500: '#882db7',
    950: '#000000',
  },
}
SCSS
$custom: #882db7;
$custom-light: #af70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#882db7",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 279.565,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49886,
    "c": 0.20804,
    "h": 311.1
  },
  "luminance": 0.1053
}

Semantic roles & 50–950 ramp

primary
#882DB7
secondary
#93C878
accent
#E4447A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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