#882BBF#882BBF

#882BBF is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.218 H 309.0°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#882BBF
RGBrgb(136, 43, 191)
HSLhsl(278, 63%, 46%)
HSVhsv(278, 77%, 75%)
CMYKcmyk(28.8%, 77.5%, 0%, 25.1%)
CIE-LABlab(39.11, 61.91, -59.56)
CIE-LCHlch(39.11, 85.91, 316.11°)
OKLaboklab(50.31% 0.1368 -0.1691)
OKLCHoklch(50.31% 0.218 309)
XYZxyz(20.4193, 10.7240, 50.2744)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BBF #62BF2B
analogous
#3E2BBF #882BBF #BF2BAC
triadic
#882BBF #BF882B #2BBF88
tetradic
#882BBF #BF3E2B #62BF2B #2BACBF
square
#882BBF #BF3E2B #62BF2B #2BACBF
split-complementary
#882BBF #ACBF2B #2BBF3E
monochromatic
#41155B #64208D #882BBF #A550D8 #BF82E3

Accessibility & contrast

On white

6.68
#882BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#882BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BBF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BBF#FFFFFF#000000##FFFFFF
##882BBF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#805074
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882bbf;
/* rgb */ color: rgb(136, 43, 191);
/* oklch */ color: oklch(50.3% 0.218 309.0);
Tailwind
colors: {
  custom: {
    50: '#b06fd3',
    500: '#882bbf',
    950: '#000000',
  },
}
SCSS
$custom: #882bbf;
$custom-light: #b06fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#882bbf",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 277.703,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.21752,
    "h": 309
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#882BBF
secondary
#98CC7A
accent
#E6427F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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