#882BC5#882BC5

#882BC5 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.223 H 307.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#882BC5
RGBrgb(136, 43, 197)
HSLhsl(276, 64%, 47%)
HSVhsv(276, 78%, 77%)
CMYKcmyk(31%, 78.2%, 0%, 22.7%)
CIE-LABlab(39.57, 63.19, -62.33)
CIE-LCHlch(39.57, 88.76, 315.40°)
OKLaboklab(50.77% 0.1354 -0.1772)
OKLCHoklch(50.77% 0.223 307.4)
XYZxyz(21.0931, 10.9935, 53.8233)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BC5 #68C52B
analogous
#3B2BC5 #882BC5 #C52BB5
triadic
#882BC5 #C5882B #2BC588
tetradic
#882BC5 #C53B2B #68C52B #2BB5C5
square
#882BC5 #C53B2B #68C52B #2BB5C5
split-complementary
#882BC5 #B5C52B #2BC53B
monochromatic
#431561 #652093 #882BC5 #A554DA #BF86E5

Accessibility & contrast

On white

6.57
#882BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#882BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BC5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BC5#FFFFFF#000000##FFFFFF
##882BC51.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#7E5378
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #882bc5;
/* rgb */ color: rgb(136, 43, 197);
/* oklch */ color: oklch(50.8% 0.223 307.4);
Tailwind
colors: {
  custom: {
    50: '#b06fd8',
    500: '#882bc5',
    950: '#000000',
  },
}
SCSS
$custom: #882bc5;
$custom-light: #b06fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#882bc5",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 197
  },
  "hsl": {
    "h": 276.234,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.22308,
    "h": 307.4
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#882BC5
secondary
#9ECE7E
accent
#E74183
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #882BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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