#8D1688#8D1688

#8D1688 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.192 H 330.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8D1688
RGBrgb(141, 22, 136)
HSLhsl(303, 73%, 32%)
HSVhsv(303, 84%, 55%)
CMYKcmyk(0%, 84.4%, 3.5%, 44.7%)
CIE-LABlab(34.01, 58.85, -34.59)
CIE-LCHlch(34.01, 68.26, 329.55°)
OKLaboklab(45.69% 0.1668 -0.0957)
OKLCHoklch(45.69% 0.192 330.2)
XYZxyz(15.7153, 8.0154, 24.0072)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1688 #168D1B
analogous
#57168D #8D1688 #8D164D
triadic
#8D1688 #888D16 #16888D
tetradic
#8D1688 #8D5716 #168D1B #164D8D
square
#8D1688 #8D5716 #168D1B #164D8D
split-complementary
#8D1688 #4D8D16 #168D57
monochromatic
#230522 #580E55 #8D1688 #C21EBB #E13DDA

Accessibility & contrast

On white

8.07
#8D1688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D1688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1688
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1688#FFFFFF#000000##FFFFFF
##8D16881.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#932A51
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1688;
/* rgb */ color: rgb(141, 22, 136);
/* oklch */ color: oklch(45.7% 0.192 330.2);
Tailwind
colors: {
  custom: {
    50: '#b265ab',
    500: '#8d1688',
    950: '#000000',
  },
}
SCSS
$custom: #8d1688;
$custom-light: #b265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1688",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 302.521,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.19233,
    "h": 330.2
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#8D1688
secondary
#3EC144
accent
#F04038
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #8D1688

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

Preview Lab → · Contrast checker → · Palette generator →

#8D1688 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva