#882EB7#882EB7

#882EB7 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.207 H 311.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#882EB7
RGBrgb(136, 46, 183)
HSLhsl(279, 60%, 45%)
HSVhsv(279, 75%, 72%)
CMYKcmyk(25.7%, 74.9%, 0%, 28.2%)
CIE-LABlab(38.91, 59.09, -55.18)
CIE-LCHlch(38.91, 80.85, 316.96°)
OKLaboklab(49.98% 0.1357 -0.1563)
OKLCHoklch(49.98% 0.207 311)
XYZxyz(19.6759, 10.6076, 45.8015)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EB7 #5DB72E
analogous
#442EB7 #882EB7 #B72EA2
triadic
#882EB7 #B7882E #2EB788
tetradic
#882EB7 #B7442E #5DB72E #2EA2B7
square
#882EB7 #B7442E #5DB72E #2EA2B7
split-complementary
#882EB7 #A2B72E #2EB744
monochromatic
#3F1555 #642286 #882EB7 #A64FD3 #BF80DF

Accessibility & contrast

On white

6.73
#882EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#882EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EB7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EB7#FFFFFF#000000##FFFFFF
##882EB71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#125DB4
Tritanopia (blue-blind)
#824E71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882eb7;
/* rgb */ color: rgb(136, 46, 183);
/* oklch */ color: oklch(50.0% 0.207 311.0);
Tailwind
colors: {
  custom: {
    50: '#af70cd',
    500: '#882eb7',
    950: '#000000',
  },
}
SCSS
$custom: #882eb7;
$custom-light: #af70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#882eb7",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 279.416,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.20696,
    "h": 311
  },
  "luminance": 0.10607
}

Semantic roles & 50–950 ramp

primary
#882EB7
secondary
#94C879
accent
#E3457B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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