#8D1684#8D1684

#8D1684 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 331.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8D1684
RGBrgb(141, 22, 132)
HSLhsl(305, 73%, 32%)
HSVhsv(305, 84%, 55%)
CMYKcmyk(0%, 84.4%, 6.4%, 44.7%)
CIE-LABlab(33.78, 58.22, -32.48)
CIE-LCHlch(33.78, 66.67, 330.85°)
OKLaboklab(45.45% 0.1669 -0.0896)
OKLCHoklch(45.45% 0.189 331.8)
XYZxyz(15.4363, 7.9038, 22.5379)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1684 #168D1F
analogous
#5B168D #8D1684 #8D1649
triadic
#8D1684 #848D16 #16848D
tetradic
#8D1684 #8D5B16 #168D1F #16498D
square
#8D1684 #8D5B16 #168D1F #16498D
split-complementary
#8D1684 #498D16 #168D5B
monochromatic
#230521 #580E52 #8D1684 #C21EB6 #E13DD4

Accessibility & contrast

On white

8.14
#8D1684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D1684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D1684#FFFFFF#000000##FFFFFF
##8D16841.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)
#064587
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#93274E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1684;
/* rgb */ color: rgb(141, 22, 132);
/* oklch */ color: oklch(45.4% 0.189 331.8);
Tailwind
colors: {
  custom: {
    50: '#b265a8',
    500: '#8d1684',
    950: '#000000',
  },
}
SCSS
$custom: #8d1684;
$custom-light: #b265a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1684",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 304.538,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45447,
    "c": 0.18942,
    "h": 331.8
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#8D1684
secondary
#3EC148
accent
#F04638
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1684

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

Preview Lab → · Contrast checker → · Palette generator →

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