#882C98#882C98

#882C98 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.181 H 321.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#882C98
RGBrgb(136, 44, 152)
HSLhsl(291, 55%, 38%)
HSVhsv(291, 71%, 60%)
CMYKcmyk(10.5%, 71.1%, 0%, 40.4%)
CIE-LABlab(36.56, 53.60, -40.40)
CIE-LCHlch(36.56, 67.12, 322.99°)
OKLaboklab(47.65% 0.1411 -0.1129)
OKLCHoklch(47.65% 0.181 321.3)
XYZxyz(16.7209, 9.3035, 30.6147)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882C98 #3C982C
analogous
#522C98 #882C98 #982C72
triadic
#882C98 #98882C #2C9888
tetradic
#882C98 #98522C #3C982C #2C7298
square
#882C98 #98522C #3C982C #2C7298
split-complementary
#882C98 #72982C #2C9852
monochromatic
#331139 #5E1E69 #882C98 #B23BC6 #C46AD4

Accessibility & contrast

On white

7.34
#882C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#882C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882C98
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882C98#FFFFFF#000000##FFFFFF
##882C981.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#395995
Tritanopia (blue-blind)
#89405F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #882c98;
/* rgb */ color: rgb(136, 44, 152);
/* oklch */ color: oklch(47.6% 0.181 321.3);
Tailwind
colors: {
  custom: {
    50: '#ae6eb7',
    500: '#882c98',
    950: '#000000',
  },
}
SCSS
$custom: #882c98;
$custom-light: #ae6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#882c98",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 291.111,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.18075,
    "h": 321.3
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#882C98
secondary
#72BB65
accent
#DE495F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882C98

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

Preview Lab → · Contrast checker → · Palette generator →

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