#882E9F#882E9F

#882E9F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.185 H 318.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#882E9F
RGBrgb(136, 46, 159)
HSLhsl(288, 55%, 40%)
HSVhsv(288, 71%, 62%)
CMYKcmyk(14.5%, 71.1%, 0%, 37.6%)
CIE-LABlab(37.28, 54.16, -43.48)
CIE-LCHlch(37.28, 69.46, 321.24°)
OKLaboklab(48.31% 0.1386 -0.1219)
OKLCHoklch(48.31% 0.185 318.7)
XYZxyz(17.3875, 9.6922, 33.7491)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882E9F #459F2E
analogous
#502E9F #882E9F #9F2E7D
triadic
#882E9F #9F882E #2E9F88
tetradic
#882E9F #9F502E #459F2E #2E7D9F
square
#882E9F #9F502E #459F2E #2E7D9F
split-complementary
#882E9F #7D9F2E #2E9F50
monochromatic
#371340 #5F2070 #882E9F #AD42C8 #C271D6

Accessibility & contrast

On white

7.15
#882E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#882E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882E9F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882E9F#FFFFFF#000000##FFFFFF
##882E9F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#345B9C
Tritanopia (blue-blind)
#884463
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882e9f;
/* rgb */ color: rgb(136, 46, 159);
/* oklch */ color: oklch(48.3% 0.185 318.7);
Tailwind
colors: {
  custom: {
    50: '#ae6fbc',
    500: '#882e9f',
    950: '#000000',
  },
}
SCSS
$custom: #882e9f;
$custom-light: #ae6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#882e9f",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 287.788,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.18462,
    "h": 318.7
  },
  "luminance": 0.09691
}

Semantic roles & 50–950 ramp

primary
#882E9F
secondary
#7CBE6B
accent
#DE4968
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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