#882CB7#882CB7

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

Color values

HEX#882CB7
RGBrgb(136, 44, 183)
HSLhsl(280, 61%, 45%)
HSVhsv(280, 76%, 72%)
CMYKcmyk(25.7%, 76%, 0%, 28.2%)
CIE-LABlab(38.65, 59.85, -55.61)
CIE-LCHlch(38.65, 81.70, 317.10°)
OKLaboklab(49.79% 0.1375 -0.1575)
OKLCHoklch(49.79% 0.209 311.1)
XYZxyz(19.5996, 10.4550, 45.7761)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CB7 #5BB72C
analogous
#432CB7 #882CB7 #B72CA1
triadic
#882CB7 #B7882C #2CB788
tetradic
#882CB7 #B7432C #5BB72C #2CA1B7
square
#882CB7 #B7432C #5BB72C #2CA1B7
split-complementary
#882CB7 #A1B72C #2CB743
monochromatic
#3F1454 #632086 #882CB7 #A64CD4 #BF7EE0

Accessibility & contrast

On white

6.79
#882CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#882CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882CB7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882CB7#FFFFFF#000000##FFFFFF
##882CB71.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882cb7;
/* rgb */ color: rgb(136, 44, 183);
/* oklch */ color: oklch(49.8% 0.209 311.1);
Tailwind
colors: {
  custom: {
    50: '#af6fcd',
    500: '#882cb7',
    950: '#000000',
  },
}
SCSS
$custom: #882cb7;
$custom-light: #af6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#882cb7",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 279.712,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.2091,
    "h": 311.1
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#882CB7
secondary
#92C876
accent
#E4437A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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