#882BCC#882BCC

#882BCC is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.3% C 0.230 H 305.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#882BCC
RGBrgb(136, 43, 204)
HSLhsl(275, 65%, 48%)
HSVhsv(275, 79%, 80%)
CMYKcmyk(33.3%, 78.9%, 0%, 20%)
CIE-LABlab(40.12, 64.71, -65.51)
CIE-LCHlch(40.12, 92.08, 314.65°)
OKLaboklab(51.32% 0.1337 -0.1866)
OKLCHoklch(51.32% 0.23 305.6)
XYZxyz(21.9139, 11.3218, 58.1459)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882BCC #6FCC2B
analogous
#372BCC #882BCC #CC2BBF
triadic
#882BCC #CC882B #2BCC88
tetradic
#882BCC #CC372B #6FCC2B #2BBFCC
square
#882BCC #CC372B #6FCC2B #2BBFCC
split-complementary
#882BCC #BFCC2B #2BCC37
monochromatic
#451667 #662099 #882BCC #A458DC #C08BE7

Accessibility & contrast

On white

6.43
#882BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#882BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882BCC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882BCC#FFFFFF#000000##FFFFFF
##882BCC1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#7B567C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #882bcc;
/* rgb */ color: rgb(136, 43, 204);
/* oklch */ color: oklch(51.3% 0.230 305.6);
Tailwind
colors: {
  custom: {
    50: '#b170dd',
    500: '#882bcc',
    950: '#000000',
  },
}
SCSS
$custom: #882bcc;
$custom-light: #b170dd;
$custom-dark: #000000;
JSON
{
  "hex": "#882bcc",
  "rgb": {
    "r": 136,
    "g": 43,
    "b": 204
  },
  "hsl": {
    "h": 274.658,
    "s": 65.182,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51324,
    "c": 0.22956,
    "h": 305.6
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#882BCC
secondary
#A3D082
accent
#E84087
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #882BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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