#882A7E#882A7E

#882A7E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.161 H 332.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#882A7E
RGBrgb(136, 42, 126)
HSLhsl(306, 53%, 35%)
HSVhsv(306, 69%, 53%)
CMYKcmyk(0%, 69.1%, 7.4%, 46.7%)
CIE-LABlab(34.80, 49.72, -27.19)
CIE-LCHlch(34.80, 56.67, 331.32°)
OKLaboklab(45.9% 0.1428 -0.0746)
OKLCHoklch(45.9% 0.161 332.4)
XYZxyz(14.7472, 8.3977, 20.5788)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A7E #2A8834
analogous
#632A88 #882A7E #882A4F
triadic
#882A7E #7E882A #2A7E88
tetradic
#882A7E #88632A #2A8834 #2A4F88
square
#882A7E #88632A #2A8834 #2A4F88
split-complementary
#882A7E #4F882A #2A8863
monochromatic
#2A0D27 #591C53 #882A7E #B738A9 #CE5FC2

Accessibility & contrast

On white

7.84
#882A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#882A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A7E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A7E#FFFFFF#000000##FFFFFF
##882A7E1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#8E3350
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882a7e;
/* rgb */ color: rgb(136, 42, 126);
/* oklch */ color: oklch(45.9% 0.161 332.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ca3',
    500: '#882a7e',
    950: '#000000',
  },
}
SCSS
$custom: #882a7e;
$custom-light: #ae6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#882a7e",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 306.383,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.16111,
    "h": 332.4
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#882A7E
secondary
#5BB364
accent
#DC5B4C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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