#882181#882181

#882181 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.174 H 331.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#882181
RGBrgb(136, 33, 129)
HSLhsl(304, 61%, 33%)
HSVhsv(304, 76%, 53%)
CMYKcmyk(0%, 75.7%, 5.1%, 46.7%)
CIE-LABlab(33.79, 53.53, -30.65)
CIE-LCHlch(33.79, 61.68, 330.20°)
OKLaboklab(45.23% 0.1526 -0.0845)
OKLCHoklch(45.23% 0.174 331)
XYZxyz(14.6596, 7.9081, 21.5189)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882181 #218828
analogous
#5B2188 #882181 #88214D
triadic
#882181 #818821 #218188
tetradic
#882181 #885B21 #218828 #214D88
square
#882181 #885B21 #218828 #214D88
split-complementary
#882181 #4D8821 #21885B
monochromatic
#250924 #571552 #882181 #B92DB0 #D44FCB

Accessibility & contrast

On white

8.14
#882181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#882181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882181
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882181#FFFFFF#000000##FFFFFF
##8821811.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174684
Deuteranopia (green-blind)
#41547F
Tritanopia (blue-blind)
#8E2E4F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #882181;
/* rgb */ color: rgb(136, 33, 129);
/* oklch */ color: oklch(45.2% 0.174 331.0);
Tailwind
colors: {
  custom: {
    50: '#ae68a6',
    500: '#882181',
    950: '#000000',
  },
}
SCSS
$custom: #882181;
$custom-light: #ae68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#882181",
  "rgb": {
    "r": 136,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 304.078,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45228,
    "c": 0.1744,
    "h": 331
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#882181
secondary
#4DB854
accent
#E44F44
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882181

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

Preview Lab → · Contrast checker → · Palette generator →

#882181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva