#882D98#882D98

#882D98 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.179 H 321.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#882D98
RGBrgb(136, 45, 152)
HSLhsl(291, 54%, 39%)
HSVhsv(291, 70%, 60%)
CMYKcmyk(10.5%, 70.4%, 0%, 40.4%)
CIE-LABlab(36.70, 53.20, -40.17)
CIE-LCHlch(36.70, 66.67, 322.94°)
OKLaboklab(47.75% 0.1401 -0.1123)
OKLCHoklch(47.75% 0.18 321.3)
XYZxyz(16.7586, 9.3789, 30.6273)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882D98 #3D982D
analogous
#522D98 #882D98 #982D72
triadic
#882D98 #98882D #2D9888
tetradic
#882D98 #98522D #3D982D #2D7298
square
#882D98 #98522D #3D982D #2D7298
split-complementary
#882D98 #72982D #2D9852
monochromatic
#33113A #5E1F69 #882D98 #B13DC5 #C46CD3

Accessibility & contrast

On white

7.30
#882D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#882D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882D98
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882D98#FFFFFF#000000##FFFFFF
##882D981.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03509B
Deuteranopia (green-blind)
#395A95
Tritanopia (blue-blind)
#89405F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #882d98;
/* rgb */ color: rgb(136, 45, 152);
/* oklch */ color: oklch(47.8% 0.179 321.3);
Tailwind
colors: {
  custom: {
    50: '#ae6eb7',
    500: '#882d98',
    950: '#000000',
  },
}
SCSS
$custom: #882d98;
$custom-light: #ae6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#882d98",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 291.028,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47751,
    "c": 0.1795,
    "h": 321.3
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#882D98
secondary
#73BA66
accent
#DE4A60
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882D98

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

Preview Lab → · Contrast checker → · Palette generator →

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