#882CBD#882CBD

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

Color values

HEX#882CBD
RGBrgb(136, 44, 189)
HSLhsl(278, 62%, 46%)
HSVhsv(278, 77%, 74%)
CMYKcmyk(28%, 76.7%, 0%, 25.9%)
CIE-LABlab(39.09, 61.12, -58.43)
CIE-LCHlch(39.09, 84.55, 316.29°)
OKLaboklab(50.24% 0.1364 -0.1658)
OKLCHoklch(50.24% 0.215 309.4)
XYZxyz(20.2375, 10.7101, 49.1354)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882CBD #61BD2C
analogous
#3F2CBD #882CBD #BD2CA9
triadic
#882CBD #BD882C #2CBD88
tetradic
#882CBD #BD3F2C #61BD2C #2CA9BD
square
#882CBD #BD3F2C #61BD2C #2CA9BD
split-complementary
#882CBD #A9BD2C #2CBD3F
monochromatic
#41155A #64208B #882CBD #A550D6 #BF82E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##882CBD#FFFFFF#000000##FFFFFF
##882CBD1.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)
#0058C1
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#805074
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882cbd;
/* rgb */ color: rgb(136, 44, 189);
/* oklch */ color: oklch(50.2% 0.215 309.4);
Tailwind
colors: {
  custom: {
    50: '#b06fd2',
    500: '#882cbd',
    950: '#000000',
  },
}
SCSS
$custom: #882cbd;
$custom-light: #b06fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#882cbd",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 278.069,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50243,
    "c": 0.21467,
    "h": 309.4
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#882CBD
secondary
#98CB7A
accent
#E5427E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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