#882FBB#882FBB

#882FBB is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.4% C 0.210 H 309.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#882FBB
RGBrgb(136, 47, 187)
HSLhsl(278, 60%, 46%)
HSVhsv(278, 75%, 73%)
CMYKcmyk(27.3%, 74.9%, 0%, 26.7%)
CIE-LABlab(39.34, 59.56, -56.85)
CIE-LCHlch(39.34, 82.33, 316.33°)
OKLaboklab(50.37% 0.1341 -0.1612)
OKLCHoklch(50.37% 0.21 309.8)
XYZxyz(20.1377, 10.8555, 48.0386)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FBB #62BB2F
analogous
#422FBB #882FBB #BB2FA8
triadic
#882FBB #BB882F #2FBB88
tetradic
#882FBB #BB422F #62BB2F #2FA8BB
square
#882FBB #BB422F #62BB2F #2FA8BB
split-complementary
#882FBB #A8BB2F #2FBB42
monochromatic
#411659 #64238A #882FBB #A553D4 #BF84E0

Accessibility & contrast

On white

6.62
#882FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#882FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FBB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FBB#FFFFFF#000000##FFFFFF
##882FBB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#055EB8
Tritanopia (blue-blind)
#815073
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #882fbb;
/* rgb */ color: rgb(136, 47, 187);
/* oklch */ color: oklch(50.4% 0.210 309.8);
Tailwind
colors: {
  custom: {
    50: '#b071d0',
    500: '#882fbb',
    950: '#000000',
  },
}
SCSS
$custom: #882fbb;
$custom-light: #b071d0;
$custom-dark: #000000;
JSON
{
  "hex": "#882fbb",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 278.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.20966,
    "h": 309.8
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#882FBB
secondary
#98C97C
accent
#E3457E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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