#882A7F#882A7F

#882A7F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.162 H 332.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#882A7F
RGBrgb(136, 42, 127)
HSLhsl(306, 53%, 35%)
HSVhsv(306, 69%, 53%)
CMYKcmyk(0%, 69.1%, 6.6%, 46.7%)
CIE-LABlab(34.85, 49.89, -27.73)
CIE-LCHlch(34.85, 57.08, 330.93°)
OKLaboklab(45.96% 0.1429 -0.0761)
OKLCHoklch(45.96% 0.162 332)
XYZxyz(14.8121, 8.4236, 20.9203)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A7F #2A8833
analogous
#622A88 #882A7F #882A50
triadic
#882A7F #7F882A #2A7F88
tetradic
#882A7F #88622A #2A8833 #2A5088
square
#882A7F #88622A #2A8833 #2A5088
split-complementary
#882A7F #50882A #2A8862
monochromatic
#2A0D28 #591C53 #882A7F #B738AB #CE5FC3

Accessibility & contrast

On white

7.82
#882A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882A7F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A7F#FFFFFF#000000##FFFFFF
##882A7F1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#8E3351
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882a7f;
/* rgb */ color: rgb(136, 42, 127);
/* oklch */ color: oklch(46.0% 0.162 332.0);
Tailwind
colors: {
  custom: {
    50: '#ae6ca4',
    500: '#882a7f',
    950: '#000000',
  },
}
SCSS
$custom: #882a7f;
$custom-light: #ae6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#882a7f",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 305.745,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.16191,
    "h": 332
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#882A7F
secondary
#5BB363
accent
#DC594C
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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