#882A7D#882A7D

#882A7D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.8% C 0.160 H 332.9°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#882A7D
RGBrgb(136, 42, 125)
HSLhsl(307, 53%, 35%)
HSVhsv(307, 69%, 53%)
CMYKcmyk(0%, 69.1%, 8.1%, 46.7%)
CIE-LABlab(34.75, 49.55, -26.65)
CIE-LCHlch(34.75, 56.26, 331.73°)
OKLaboklab(45.85% 0.1427 -0.073)
OKLCHoklch(45.85% 0.16 332.9)
XYZxyz(14.6830, 8.3720, 20.2407)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A7D #2A8835
analogous
#642A88 #882A7D #882A4E
triadic
#882A7D #7D882A #2A7D88
tetradic
#882A7D #88642A #2A8835 #2A4E88
square
#882A7D #88642A #2A8835 #2A4E88
split-complementary
#882A7D #4E882A #2A8864
monochromatic
#2A0D27 #591C52 #882A7D #B738A8 #CE5FC1

Accessibility & contrast

On white

7.85
#882A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#882A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A7D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A7D#FFFFFF#000000##FFFFFF
##882A7D1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497F
Deuteranopia (green-blind)
#47577B
Tritanopia (blue-blind)
#8E3350
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882a7d;
/* rgb */ color: rgb(136, 42, 125);
/* oklch */ color: oklch(45.8% 0.160 332.9);
Tailwind
colors: {
  custom: {
    50: '#ae6ca3',
    500: '#882a7d',
    950: '#000000',
  },
}
SCSS
$custom: #882a7d;
$custom-light: #ae6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#882a7d",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 307.021,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.1603,
    "h": 332.9
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#882A7D
secondary
#5BB365
accent
#DC5D4C
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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