#882EBB#882EBB

#882EBB is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.211 H 309.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#882EBB
RGBrgb(136, 46, 187)
HSLhsl(278, 61%, 46%)
HSVhsv(278, 75%, 73%)
CMYKcmyk(27.3%, 75.4%, 0%, 26.7%)
CIE-LABlab(39.20, 59.94, -57.07)
CIE-LCHlch(39.20, 82.76, 316.41°)
OKLaboklab(50.28% 0.135 -0.1618)
OKLCHoklch(50.28% 0.211 309.8)
XYZxyz(20.0982, 10.7765, 48.0254)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EBB #61BB2E
analogous
#412EBB #882EBB #BB2EA7
triadic
#882EBB #BB882E #2EBB88
tetradic
#882EBB #BB412E #61BB2E #2EA7BB
square
#882EBB #BB412E #61BB2E #2EA7BB
split-complementary
#882EBB #A7BB2E #2EBB41
monochromatic
#411659 #64228A #882EBB #A552D4 #BF83E0

Accessibility & contrast

On white

6.66
#882EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#882EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EBB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EBB#FFFFFF#000000##FFFFFF
##882EBB1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#025EB8
Tritanopia (blue-blind)
#815073
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882ebb;
/* rgb */ color: rgb(136, 46, 187);
/* oklch */ color: oklch(50.3% 0.211 309.8);
Tailwind
colors: {
  custom: {
    50: '#b070d0',
    500: '#882ebb',
    950: '#000000',
  },
}
SCSS
$custom: #882ebb;
$custom-light: #b070d0;
$custom-dark: #000000;
JSON
{
  "hex": "#882ebb",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 278.298,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50277,
    "c": 0.21073,
    "h": 309.8
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#882EBB
secondary
#98CA7B
accent
#E4447E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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