#882E98#882E98

#882E98 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.178 H 321.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#882E98
RGBrgb(136, 46, 152)
HSLhsl(291, 54%, 39%)
HSVhsv(291, 70%, 60%)
CMYKcmyk(10.5%, 69.7%, 0%, 40.4%)
CIE-LABlab(36.85, 52.80, -39.94)
CIE-LCHlch(36.85, 66.20, 322.89°)
OKLaboklab(47.86% 0.139 -0.1116)
OKLCHoklch(47.86% 0.178 321.2)
XYZxyz(16.7972, 9.4561, 30.6401)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E98 #3E982E
analogous
#532E98 #882E98 #982E73
triadic
#882E98 #98882E #2E9888
tetradic
#882E98 #98532E #3E982E #2E7398
square
#882E98 #98532E #3E982E #2E7398
split-complementary
#882E98 #73982E #2E9853
monochromatic
#34123A #5E2069 #882E98 #B03EC5 #C46DD3

Accessibility & contrast

On white

7.26
#882E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#882E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882E98
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882E98#FFFFFF#000000##FFFFFF
##882E981.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509B
Deuteranopia (green-blind)
#3A5A95
Tritanopia (blue-blind)
#89415F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882e98;
/* rgb */ color: rgb(136, 46, 152);
/* oklch */ color: oklch(47.9% 0.178 321.2);
Tailwind
colors: {
  custom: {
    50: '#ae6fb7',
    500: '#882e98',
    950: '#000000',
  },
}
SCSS
$custom: #882e98;
$custom-light: #ae6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#882e98",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 290.943,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.17823,
    "h": 321.2
  },
  "luminance": 0.09455
}

Semantic roles & 50–950 ramp

primary
#882E98
secondary
#74BA68
accent
#DD4B61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882E98

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

Preview Lab → · Contrast checker → · Palette generator →

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