#882BB8#882BB8

#882BB8 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.211 H 310.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#882BB8
RGBrgb(136, 43, 184)
HSLhsl(280, 62%, 45%)
HSVhsv(280, 77%, 72%)
CMYKcmyk(26.1%, 76.6%, 0%, 27.8%)
CIE-LABlab(38.59, 60.43, -56.29)
CIE-LCHlch(38.59, 82.58, 317.03°)
OKLaboklab(49.78% 0.1382 -0.1595)
OKLCHoklch(49.78% 0.211 310.9)
XYZxyz(19.6673, 10.4232, 46.3139)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BB8 #5BB82B
analogous
#412BB8 #882BB8 #B82BA2
triadic
#882BB8 #B8882B #2BB888
tetradic
#882BB8 #B8412B #5BB82B #2BA2B8
square
#882BB8 #B8412B #5BB82B #2BA2B8
split-complementary
#882BB8 #A2B82B #2BB841
monochromatic
#3F1455 #631F86 #882BB8 #A64BD5 #BF7DE1

Accessibility & contrast

On white

6.81
#882BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#882BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BB8
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BB8#FFFFFF#000000##FFFFFF
##882BB81.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#065CB5
Tritanopia (blue-blind)
#824D70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882bb8;
/* rgb */ color: rgb(136, 43, 184);
/* oklch */ color: oklch(49.8% 0.211 310.9);
Tailwind
colors: {
  custom: {
    50: '#b06fce',
    500: '#882bb8',
    950: '#000000',
  },
}
SCSS
$custom: #882bb8;
$custom-light: #b06fce;
$custom-dark: #000000;
JSON
{
  "hex": "#882bb8",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 279.574,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.21106,
    "h": 310.9
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#882BB8
secondary
#92C976
accent
#E5437A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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