#882BC1#882BC1

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

Color values

HEX#882BC1
RGBrgb(136, 43, 193)
HSLhsl(277, 64%, 46%)
HSVhsv(277, 78%, 76%)
CMYKcmyk(29.5%, 77.7%, 0%, 24.3%)
CIE-LABlab(39.26, 62.34, -60.49)
CIE-LCHlch(39.26, 86.86, 315.86°)
OKLaboklab(50.46% 0.1364 -0.1718)
OKLCHoklch(50.46% 0.219 308.4)
XYZxyz(20.6409, 10.8126, 51.4414)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BC1 #64C12B
analogous
#3D2BC1 #882BC1 #C12BAF
triadic
#882BC1 #C1882B #2BC188
tetradic
#882BC1 #C13D2B #64C12B #2BAFC1
square
#882BC1 #C13D2B #64C12B #2BAFC1
split-complementary
#882BC1 #AFC12B #2BC13D
monochromatic
#41155D #65208F #882BC1 #A551D8 #BF83E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##882BC1#FFFFFF#000000##FFFFFF
##882BC11.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)
#0059C5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#7F5176
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882bc1;
/* rgb */ color: rgb(136, 43, 193);
/* oklch */ color: oklch(50.5% 0.219 308.4);
Tailwind
colors: {
  custom: {
    50: '#b06fd5',
    500: '#882bc1',
    950: '#000000',
  },
}
SCSS
$custom: #882bc1;
$custom-light: #b06fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#882bc1",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 193
  },
  "hsl": {
    "h": 277.2,
    "s": 63.559,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5046,
    "c": 0.21937,
    "h": 308.4
  },
  "luminance": 0.10812
}

Semantic roles & 50–950 ramp

primary
#882BC1
secondary
#9ACC7B
accent
#E74180
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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