#882BB7#882BB7

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

Color values

HEX#882BB7
RGBrgb(136, 43, 183)
HSLhsl(280, 62%, 44%)
HSVhsv(280, 77%, 72%)
CMYKcmyk(25.7%, 76.5%, 0%, 28.2%)
CIE-LABlab(38.52, 60.22, -55.82)
CIE-LCHlch(38.52, 82.11, 317.17°)
OKLaboklab(49.7% 0.1384 -0.1581)
OKLCHoklch(49.7% 0.21 311.2)
XYZxyz(19.5628, 10.3814, 45.7638)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BB7 #5AB72B
analogous
#422BB7 #882BB7 #B72BA0
triadic
#882BB7 #B7882B #2BB788
tetradic
#882BB7 #B7422B #5AB72B #2BA0B7
square
#882BB7 #B7422B #5AB72B #2BA0B7
split-complementary
#882BB7 #A0B72B #2BB742
monochromatic
#3E1454 #631F85 #882BB7 #A64BD5 #BF7CE0

Accessibility & contrast

On white

6.83
#882BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#882BB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BB7
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BB7#FFFFFF#000000##FFFFFF
##882BB71.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0B5CB4
Tritanopia (blue-blind)
#824C70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882bb7;
/* rgb */ color: rgb(136, 43, 183);
/* oklch */ color: oklch(49.7% 0.210 311.2);
Tailwind
colors: {
  custom: {
    50: '#af6fcd',
    500: '#882bb7',
    950: '#000000',
  },
}
SCSS
$custom: #882bb7;
$custom-light: #af6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#882bb7",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 279.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49703,
    "c": 0.21014,
    "h": 311.2
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #882BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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