#882F9B#882F9B

#882F9B is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.180 H 320.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#882F9B
RGBrgb(136, 47, 155)
HSLhsl(289, 53%, 40%)
HSVhsv(289, 70%, 61%)
CMYKcmyk(12.3%, 69.7%, 0%, 39.2%)
CIE-LABlab(37.18, 52.97, -41.23)
CIE-LCHlch(37.18, 67.12, 322.10°)
OKLaboklab(48.15% 0.1378 -0.1154)
OKLCHoklch(48.15% 0.18 320.1)
XYZxyz(17.0855, 9.6347, 31.9637)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882F9B #429B2F
analogous
#522F9B #882F9B #9B2F78
triadic
#882F9B #9B882F #2F9B88
tetradic
#882F9B #9B522F #429B2F #2F789B
square
#882F9B #9B522F #429B2F #2F789B
split-complementary
#882F9B #789B2F #2F9B52
monochromatic
#36133D #5F216C #882F9B #AE42C6 #C271D4

Accessibility & contrast

On white

7.18
#882F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#882F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882F9B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882F9B#FFFFFF#000000##FFFFFF
##882F9B1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519E
Deuteranopia (green-blind)
#385B98
Tritanopia (blue-blind)
#894361
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #882f9b;
/* rgb */ color: rgb(136, 47, 155);
/* oklch */ color: oklch(48.2% 0.180 320.1);
Tailwind
colors: {
  custom: {
    50: '#ae6fb9',
    500: '#882f9b',
    950: '#000000',
  },
}
SCSS
$custom: #882f9b;
$custom-light: #ae6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#882f9b",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 289.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48151,
    "c": 0.17969,
    "h": 320.1
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#882F9B
secondary
#79BB6A
accent
#DD4B65
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #882F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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