#881782#881782

#881782 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.185 H 330.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#881782
RGBrgb(136, 23, 130)
HSLhsl(303, 71%, 31%)
HSVhsv(303, 83%, 53%)
CMYKcmyk(0%, 83.1%, 4.4%, 46.7%)
CIE-LABlab(32.83, 56.62, -32.79)
CIE-LCHlch(32.83, 65.43, 329.92°)
OKLaboklab(44.56% 0.161 -0.0906)
OKLCHoklch(44.56% 0.185 330.6)
XYZxyz(14.4890, 7.4599, 21.7916)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#881782 #17881D
analogous
#551788 #881782 #881749
triadic
#881782 #828817 #178288
tetradic
#881782 #885517 #17881D #174988
square
#881782 #885517 #17881D #174988
split-complementary
#881782 #498817 #178855
monochromatic
#1F051E #540E50 #881782 #BC20B4 #DE3BD5

Accessibility & contrast

On white

8.43
#881782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#881782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #881782
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##881782#FFFFFF#000000##FFFFFF
##8817821.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034485
Deuteranopia (green-blind)
#3D527F
Tritanopia (blue-blind)
#8E284D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #881782;
/* rgb */ color: rgb(136, 23, 130);
/* oklch */ color: oklch(44.6% 0.185 330.6);
Tailwind
colors: {
  custom: {
    50: '#ae64a7',
    500: '#881782',
    950: '#000000',
  },
}
SCSS
$custom: #881782;
$custom-light: #ae64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#881782",
  "rgb": {
    "r": 136,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 303.186,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.18478,
    "h": 330.6
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#881782
secondary
#3FBC46
accent
#EE443A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #881782

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

Preview Lab → · Contrast checker → · Palette generator →

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