#882F9D#882F9D

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

Color values

HEX#882F9D
RGBrgb(136, 47, 157)
HSLhsl(289, 54%, 40%)
HSVhsv(289, 70%, 62%)
CMYKcmyk(13.4%, 70.1%, 0%, 38.4%)
CIE-LABlab(37.30, 53.36, -42.24)
CIE-LCHlch(37.30, 68.06, 321.63°)
OKLaboklab(48.28% 0.1377 -0.1183)
OKLCHoklch(48.28% 0.182 319.3)
XYZxyz(17.2549, 9.7024, 32.8556)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882F9D #449D2F
analogous
#512F9D #882F9D #9D2F7B
triadic
#882F9D #9D882F #2F9D88
tetradic
#882F9D #9D512F #449D2F #2F7B9D
square
#882F9D #9D512F #449D2F #2F7B9D
split-complementary
#882F9D #7B9D2F #2F9D51
monochromatic
#36133F #5F216E #882F9D #AD43C7 #C272D5

Accessibility & contrast

On white

7.14
#882F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #882F9D
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882F9D#FFFFFF#000000##FFFFFF
##882F9D1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#375B9A
Tritanopia (blue-blind)
#884362
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882f9d;
/* rgb */ color: rgb(136, 47, 157);
/* oklch */ color: oklch(48.3% 0.182 319.3);
Tailwind
colors: {
  custom: {
    50: '#ae6fba',
    500: '#882f9d',
    950: '#000000',
  },
}
SCSS
$custom: #882f9d;
$custom-light: #ae6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#882f9d",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 288.545,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.4828,
    "c": 0.18153,
    "h": 319.3
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#882F9D
secondary
#7BBC6B
accent
#DD4B67
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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