#882F9F#882F9F

#882F9F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.183 H 318.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#882F9F
RGBrgb(136, 47, 159)
HSLhsl(288, 54%, 40%)
HSVhsv(288, 70%, 62%)
CMYKcmyk(14.5%, 70.4%, 0%, 37.6%)
CIE-LABlab(37.43, 53.76, -43.25)
CIE-LCHlch(37.43, 68.99, 321.18°)
OKLaboklab(48.41% 0.1376 -0.1213)
OKLCHoklch(48.41% 0.183 318.6)
XYZxyz(17.4270, 9.7713, 33.7622)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882F9F #469F2F
analogous
#502F9F #882F9F #9F2F7E
triadic
#882F9F #9F882F #2F9F88
tetradic
#882F9F #9F502F #469F2F #2F7E9F
square
#882F9F #9F502F #469F2F #2F7E9F
split-complementary
#882F9F #7E9F2F #2F9F50
monochromatic
#371341 #602170 #882F9F #AC44C8 #C173D6

Accessibility & contrast

On white

7.11
#882F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#882F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882F9F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882F9F#FFFFFF#000000##FFFFFF
##882F9F1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#355B9C
Tritanopia (blue-blind)
#884464
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882f9f;
/* rgb */ color: rgb(136, 47, 159);
/* oklch */ color: oklch(48.4% 0.183 318.6);
Tailwind
colors: {
  custom: {
    50: '#ae6fbc',
    500: '#882f9f',
    950: '#000000',
  },
}
SCSS
$custom: #882f9f;
$custom-light: #ae6fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#882f9f",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 287.679,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4841,
    "c": 0.18338,
    "h": 318.6
  },
  "luminance": 0.0977
}

Semantic roles & 50–950 ramp

primary
#882F9F
secondary
#7DBD6D
accent
#DE4A68
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #882F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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