#882EBC#882EBC

#882EBC is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.212 H 309.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#882EBC
RGBrgb(136, 46, 188)
HSLhsl(278, 61%, 46%)
HSVhsv(278, 76%, 74%)
CMYKcmyk(27.7%, 75.5%, 0%, 26.3%)
CIE-LABlab(39.27, 60.16, -57.54)
CIE-LCHlch(39.27, 83.24, 316.28°)
OKLaboklab(50.35% 0.1348 -0.1632)
OKLCHoklch(50.35% 0.212 309.6)
XYZxyz(20.2056, 10.8195, 48.5912)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EBC #62BC2E
analogous
#412EBC #882EBC #BC2EA9
triadic
#882EBC #BC882E #2EBC88
tetradic
#882EBC #BC412E #62BC2E #2EA9BC
square
#882EBC #BC412E #62BC2E #2EA9BC
split-complementary
#882EBC #A9BC2E #2EBC41
monochromatic
#41165A #64228B #882EBC #A552D5 #BF84E1

Accessibility & contrast

On white

6.64
#882EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882EBC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EBC#FFFFFF#000000##FFFFFF
##882EBC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#805073
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882ebc;
/* rgb */ color: rgb(136, 46, 188);
/* oklch */ color: oklch(50.4% 0.212 309.6);
Tailwind
colors: {
  custom: {
    50: '#b070d1',
    500: '#882ebc',
    950: '#000000',
  },
}
SCSS
$custom: #882ebc;
$custom-light: #b070d1;
$custom-dark: #000000;
JSON
{
  "hex": "#882ebc",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 278.028,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.21166,
    "h": 309.6
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#882EBC
secondary
#98CA7C
accent
#E4447F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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