#882BBB#882BBB

#882BBB is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 50.0% C 0.214 H 310.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#882BBB
RGBrgb(136, 43, 187)
HSLhsl(279, 63%, 45%)
HSVhsv(279, 77%, 73%)
CMYKcmyk(27.3%, 77%, 0%, 26.7%)
CIE-LABlab(38.81, 61.06, -57.70)
CIE-LCHlch(38.81, 84.01, 316.62°)
OKLaboklab(50% 0.1376 -0.1636)
OKLCHoklch(50% 0.214 310.1)
XYZxyz(19.9851, 10.5503, 47.9877)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BBB #5EBB2B
analogous
#402BBB #882BBB #BB2BA6
triadic
#882BBB #BB882B #2BBB88
tetradic
#882BBB #BB402B #5EBB2B #2BA6BB
square
#882BBB #BB402B #5EBB2B #2BA6BB
split-complementary
#882BBB #A6BB2B #2BBB40
monochromatic
#401457 #642089 #882BBB #A64DD6 #BF7FE2

Accessibility & contrast

On white

6.75
#882BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#882BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BBB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BBB#FFFFFF#000000##FFFFFF
##882BBB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#814E72
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882bbb;
/* rgb */ color: rgb(136, 43, 187);
/* oklch */ color: oklch(50.0% 0.214 310.1);
Tailwind
colors: {
  custom: {
    50: '#b06fd0',
    500: '#882bbb',
    950: '#000000',
  },
}
SCSS
$custom: #882bbb;
$custom-light: #b06fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#882bbb",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 278.75,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50003,
    "c": 0.21383,
    "h": 310.1
  },
  "luminance": 0.1055
}

Semantic roles & 50–950 ramp

primary
#882BBB
secondary
#95CA78
accent
#E6427C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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