#882C7E#882C7E

#882C7E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.158 H 332.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#882C7E
RGBrgb(136, 44, 126)
HSLhsl(307, 51%, 35%)
HSVhsv(307, 68%, 53%)
CMYKcmyk(0%, 67.6%, 7.4%, 46.7%)
CIE-LABlab(35.09, 48.90, -26.74)
CIE-LCHlch(35.09, 55.73, 331.33°)
OKLaboklab(46.11% 0.1404 -0.0733)
OKLCHoklch(46.11% 0.158 332.4)
XYZxyz(14.8199, 8.5431, 20.6031)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882C7E #2C8836
analogous
#642C88 #882C7E #882C50
triadic
#882C7E #7E882C #2C7E88
tetradic
#882C7E #88642C #2C8836 #2C5088
square
#882C7E #88642C #2C8836 #2C5088
split-complementary
#882C7E #50882C #2C8864
monochromatic
#2C0E28 #5A1D53 #882C7E #B63BA9 #CC62C1

Accessibility & contrast

On white

7.75
#882C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#882C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882C7E
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882C7E#FFFFFF#000000##FFFFFF
##882C7E1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#48577C
Tritanopia (blue-blind)
#8E3451
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882c7e;
/* rgb */ color: rgb(136, 44, 126);
/* oklch */ color: oklch(46.1% 0.158 332.4);
Tailwind
colors: {
  custom: {
    50: '#ae6da3',
    500: '#882c7e',
    950: '#000000',
  },
}
SCSS
$custom: #882c7e;
$custom-light: #ae6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#882c7e",
  "rgb": {
    "r": 136,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 306.522,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.1584,
    "h": 332.4
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#882C7E
secondary
#5DB367
accent
#DB5D4D
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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