#8D1F83#8D1F83

#8D1F83 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.181 H 332.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8D1F83
RGBrgb(141, 31, 131)
HSLhsl(305, 64%, 34%)
HSVhsv(305, 78%, 55%)
CMYKcmyk(0%, 78%, 7.1%, 44.7%)
CIE-LABlab(34.56, 55.64, -30.62)
CIE-LCHlch(34.56, 63.50, 331.18°)
OKLaboklab(45.99% 0.1598 -0.0842)
OKLCHoklch(45.99% 0.181 332.2)
XYZxyz(15.5713, 8.2827, 22.2469)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F83 #1F8D29
analogous
#601F8D #8D1F83 #8D1F4C
triadic
#8D1F83 #838D1F #1F838D
tetradic
#8D1F83 #8D601F #1F8D29 #1F4C8D
square
#8D1F83 #8D601F #1F8D29 #1F4C8D
split-complementary
#8D1F83 #4C8D1F #1F8D60
monochromatic
#290926 #5B1454 #8D1F83 #BF2AB2 #D84ECC

Accessibility & contrast

On white

7.91
#8D1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8D1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F83
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F83#FFFFFF#000000##FFFFFF
##8D1F831.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174786
Deuteranopia (green-blind)
#445780
Tritanopia (blue-blind)
#932C50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8d1f83;
/* rgb */ color: rgb(141, 31, 131);
/* oklch */ color: oklch(46.0% 0.181 332.2);
Tailwind
colors: {
  custom: {
    50: '#b268a7',
    500: '#8d1f83',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f83;
$custom-light: #b268a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f83",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 305.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45987,
    "c": 0.18068,
    "h": 332.2
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#8D1F83
secondary
#4DBB57
accent
#E75041
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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