#882BBD#882BBD

#882BBD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.216 H 309.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#882BBD
RGBrgb(136, 43, 189)
HSLhsl(278, 63%, 45%)
HSVhsv(278, 77%, 74%)
CMYKcmyk(28%, 77.2%, 0%, 25.9%)
CIE-LABlab(38.96, 61.48, -58.63)
CIE-LCHlch(38.96, 84.96, 316.36°)
OKLaboklab(50.15% 0.1372 -0.1664)
OKLCHoklch(50.15% 0.216 309.5)
XYZxyz(20.2007, 10.6365, 49.1231)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BBD #60BD2B
analogous
#3F2BBD #882BBD #BD2BA9
triadic
#882BBD #BD882B #2BBD88
tetradic
#882BBD #BD3F2B #60BD2B #2BA9BD
square
#882BBD #BD3F2B #60BD2B #2BA9BD
split-complementary
#882BBD #A9BD2B #2BBD3F
monochromatic
#401459 #64208B #882BBD #A54ED7 #BF80E2

Accessibility & contrast

On white

6.72
#882BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#882BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BBD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BBD#FFFFFF#000000##FFFFFF
##882BBD1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#804F73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882bbd;
/* rgb */ color: rgb(136, 43, 189);
/* oklch */ color: oklch(50.2% 0.216 309.5);
Tailwind
colors: {
  custom: {
    50: '#b06fd2',
    500: '#882bbd',
    950: '#000000',
  },
}
SCSS
$custom: #882bbd;
$custom-light: #b06fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#882bbd",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 278.219,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.21568,
    "h": 309.5
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#882BBD
secondary
#97CB79
accent
#E6427D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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