#882BCA#882BCA

#882BCA is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 51.2% C 0.228 H 306.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#882BCA
RGBrgb(136, 43, 202)
HSLhsl(275, 65%, 48%)
HSVhsv(275, 79%, 79%)
CMYKcmyk(32.7%, 78.7%, 0%, 20.8%)
CIE-LABlab(39.96, 64.27, -64.60)
CIE-LCHlch(39.96, 91.13, 314.85°)
OKLaboklab(51.17% 0.1342 -0.1839)
OKLCHoklch(51.17% 0.228 306.1)
XYZxyz(21.6755, 11.2265, 56.8907)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BCA #6DCA2B
analogous
#382BCA #882BCA #CA2BBD
triadic
#882BCA #CA882B #2BCA88
tetradic
#882BCA #CA382B #6DCA2B #2BBDCA
square
#882BCA #CA382B #6DCA2B #2BBDCA
split-complementary
#882BCA #BDCA2B #2BCA38
monochromatic
#441665 #662098 #882BCA #A457DB #C089E6

Accessibility & contrast

On white

6.47
#882BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#882BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BCA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BCA#FFFFFF#000000##FFFFFF
##882BCA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#7C557B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #882bca;
/* rgb */ color: rgb(136, 43, 202);
/* oklch */ color: oklch(51.2% 0.228 306.1);
Tailwind
colors: {
  custom: {
    50: '#b170db',
    500: '#882bca',
    950: '#000000',
  },
}
SCSS
$custom: #882bca;
$custom-light: #b170db;
$custom-dark: #000000;
JSON
{
  "hex": "#882bca",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 275.094,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.22771,
    "h": 306.1
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#882BCA
secondary
#A2D081
accent
#E84086
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #882BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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