#882F98#882F98

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

Color values

HEX#882F98
RGBrgb(136, 47, 152)
HSLhsl(291, 53%, 39%)
HSVhsv(291, 69%, 60%)
CMYKcmyk(10.5%, 69.1%, 0%, 40.4%)
CIE-LABlab(36.99, 52.38, -39.71)
CIE-LCHlch(36.99, 65.73, 322.84°)
OKLaboklab(47.96% 0.1379 -0.1109)
OKLCHoklch(47.96% 0.177 321.2)
XYZxyz(16.8367, 9.5351, 30.6533)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882F98 #3F982F
analogous
#542F98 #882F98 #982F74
triadic
#882F98 #98882F #2F9888
tetradic
#882F98 #98542F #3F982F #2F7498
square
#882F98 #98542F #3F982F #2F7498
split-complementary
#882F98 #74982F #2F9854
monochromatic
#34123B #5E2169 #882F98 #B040C4 #C36FD2

Accessibility & contrast

On white

7.22
#882F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#882F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882F98
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882F98#FFFFFF#000000##FFFFFF
##882F981.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A519B
Deuteranopia (green-blind)
#3B5A95
Tritanopia (blue-blind)
#894160
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882f98;
/* rgb */ color: rgb(136, 47, 152);
/* oklch */ color: oklch(48.0% 0.177 321.2);
Tailwind
colors: {
  custom: {
    50: '#ae6fb7',
    500: '#882f98',
    950: '#000000',
  },
}
SCSS
$custom: #882f98;
$custom-light: #ae6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#882f98",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 290.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4796,
    "c": 0.17694,
    "h": 321.2
  },
  "luminance": 0.09534
}

Semantic roles & 50–950 ramp

primary
#882F98
secondary
#75BA69
accent
#DC4C62
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882F98

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

Preview Lab → · Contrast checker → · Palette generator →

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