#8D1F82#8D1F82

#8D1F82 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.180 H 332.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#8D1F82
RGBrgb(141, 31, 130)
HSLhsl(306, 64%, 34%)
HSVhsv(306, 78%, 55%)
CMYKcmyk(0%, 78%, 7.8%, 44.7%)
CIE-LABlab(34.51, 55.48, -30.08)
CIE-LCHlch(34.51, 63.11, 331.53°)
OKLaboklab(45.93% 0.1598 -0.0827)
OKLCHoklch(45.93% 0.18 332.6)
XYZxyz(15.5038, 8.2557, 21.8917)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F82 #1F8D2A
analogous
#611F8D #8D1F82 #8D1F4B
triadic
#8D1F82 #828D1F #1F828D
tetradic
#8D1F82 #8D611F #1F8D2A #1F4B8D
square
#8D1F82 #8D611F #1F8D2A #1F4B8D
split-complementary
#8D1F82 #4B8D1F #1F8D61
monochromatic
#290925 #5B1454 #8D1F82 #BF2AB0 #D84ECA

Accessibility & contrast

On white

7.92
#8D1F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8D1F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F82
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F82#FFFFFF#000000##FFFFFF
##8D1F821.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184785
Deuteranopia (green-blind)
#45577F
Tritanopia (blue-blind)
#932C4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1f82;
/* rgb */ color: rgb(141, 31, 130);
/* oklch */ color: oklch(45.9% 0.180 332.6);
Tailwind
colors: {
  custom: {
    50: '#b268a6',
    500: '#8d1f82',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f82;
$custom-light: #b268a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f82",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 306,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.17994,
    "h": 332.6
  },
  "luminance": 0.08254
}

Semantic roles & 50–950 ramp

primary
#8D1F82
secondary
#4DBB58
accent
#E75141
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1F82

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

Preview Lab → · Contrast checker → · Palette generator →

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