#8D1F80#8D1F80

#8D1F80 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.178 H 333.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8D1F80
RGBrgb(141, 31, 128)
HSLhsl(307, 64%, 34%)
HSVhsv(307, 78%, 55%)
CMYKcmyk(0%, 78%, 9.2%, 44.7%)
CIE-LABlab(34.40, 55.16, -29.01)
CIE-LCHlch(34.40, 62.33, 332.26°)
OKLaboklab(45.82% 0.1597 -0.0796)
OKLCHoklch(45.82% 0.178 333.5)
XYZxyz(15.3709, 8.2025, 21.1916)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F80 #1F8D2C
analogous
#631F8D #8D1F80 #8D1F49
triadic
#8D1F80 #808D1F #1F808D
tetradic
#8D1F80 #8D631F #1F8D2C #1F498D
square
#8D1F80 #8D631F #1F8D2C #1F498D
split-complementary
#8D1F80 #498D1F #1F8D63
monochromatic
#290925 #5B1452 #8D1F80 #BF2AAE #D84EC8

Accessibility & contrast

On white

7.95
#8D1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8D1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F80
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F80#FFFFFF#000000##FFFFFF
##8D1F801.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4783
Deuteranopia (green-blind)
#46567D
Tritanopia (blue-blind)
#942B4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1f80;
/* rgb */ color: rgb(141, 31, 128);
/* oklch */ color: oklch(45.8% 0.178 333.5);
Tailwind
colors: {
  custom: {
    50: '#b268a5',
    500: '#8d1f80',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f80;
$custom-light: #b268a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f80",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 307.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.17845,
    "h": 333.5
  },
  "luminance": 0.08201
}

Semantic roles & 50–950 ramp

primary
#8D1F80
secondary
#4DBB5A
accent
#E75441
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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