#8D1F93#8D1F93

#8D1F93 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 47.0% C 0.193 H 325.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8D1F93
RGBrgb(141, 31, 147)
HSLhsl(297, 65%, 35%)
HSVhsv(297, 79%, 58%)
CMYKcmyk(4.1%, 78.9%, 0%, 42.4%)
CIE-LABlab(35.50, 58.29, -39.00)
CIE-LCHlch(35.50, 70.14, 326.21°)
OKLaboklab(46.96% 0.1596 -0.1086)
OKLCHoklch(46.96% 0.193 325.8)
XYZxyz(16.7406, 8.7504, 28.4054)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F93 #25931F
analogous
#531F93 #8D1F93 #931F5F
triadic
#8D1F93 #938D1F #1F938D
tetradic
#8D1F93 #93531F #25931F #1F5F93
square
#8D1F93 #93531F #25931F #1F5F93
split-complementary
#8D1F93 #5F931F #1F9353
monochromatic
#2C0A2E #5D1460 #8D1F93 #BD2AC6 #D352DA

Accessibility & contrast

On white

7.64
#8D1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8D1F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F93
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F93#FFFFFF#000000##FFFFFF
##8D1F931.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#3B5890
Tritanopia (blue-blind)
#913459
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1f93;
/* rgb */ color: rgb(141, 31, 147);
/* oklch */ color: oklch(47.0% 0.193 325.8);
Tailwind
colors: {
  custom: {
    50: '#b269b3',
    500: '#8d1f93',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f93;
$custom-light: #b269b3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f93",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 296.897,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.19303,
    "h": 325.8
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#8D1F93
secondary
#56BE50
accent
#E84048
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1F93

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

Preview Lab → · Contrast checker → · Palette generator →

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