#8D1682#8D1682

#8D1682 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.188 H 332.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8D1682
RGBrgb(141, 22, 130)
HSLhsl(306, 73%, 32%)
HSVhsv(306, 84%, 55%)
CMYKcmyk(0%, 84.4%, 7.8%, 44.7%)
CIE-LABlab(33.67, 57.91, -31.41)
CIE-LCHlch(33.67, 65.88, 331.52°)
OKLaboklab(45.33% 0.1669 -0.0865)
OKLCHoklch(45.33% 0.188 332.6)
XYZxyz(15.3008, 7.8496, 21.8240)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1682 #168D21
analogous
#5D168D #8D1682 #8D1647
triadic
#8D1682 #828D16 #16828D
tetradic
#8D1682 #8D5D16 #168D21 #16478D
square
#8D1682 #8D5D16 #168D21 #16478D
split-complementary
#8D1682 #478D16 #168D5D
monochromatic
#230520 #580E51 #8D1682 #C21EB3 #E13DD2

Accessibility & contrast

On white

8.17
#8D1682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D1682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1682
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1682#FFFFFF#000000##FFFFFF
##8D16821.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4585
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#93264D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d1682;
/* rgb */ color: rgb(141, 22, 130);
/* oklch */ color: oklch(45.3% 0.188 332.6);
Tailwind
colors: {
  custom: {
    50: '#b265a7',
    500: '#8d1682',
    950: '#000000',
  },
}
SCSS
$custom: #8d1682;
$custom-light: #b265a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1682",
  "rgb": {
    "r": 141,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 305.546,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.18798,
    "h": 332.6
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#8D1682
secondary
#3EC14A
accent
#F04938
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8D1682

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

Preview Lab → · Contrast checker → · Palette generator →

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