#8D1F92#8D1F92

#8D1F92 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.192 H 326.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8D1F92
RGBrgb(141, 31, 146)
HSLhsl(297, 65%, 35%)
HSVhsv(297, 79%, 57%)
CMYKcmyk(3.4%, 78.8%, 0%, 42.7%)
CIE-LABlab(35.44, 58.12, -38.49)
CIE-LCHlch(35.44, 69.71, 326.49°)
OKLaboklab(46.89% 0.1596 -0.1071)
OKLCHoklch(46.89% 0.192 326.1)
XYZxyz(16.6625, 8.7192, 27.9939)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1F92 #24921F
analogous
#531F92 #8D1F92 #921F5E
triadic
#8D1F92 #928D1F #1F928D
tetradic
#8D1F92 #92531F #24921F #1F5E92
square
#8D1F92 #92531F #24921F #1F5E92
split-complementary
#8D1F92 #5E921F #1F9253
monochromatic
#2B0A2D #5C1460 #8D1F92 #BE2AC4 #D451DA

Accessibility & contrast

On white

7.65
#8D1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8D1F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1F92
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1F92#FFFFFF#000000##FFFFFF
##8D1F921.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#3B588F
Tritanopia (blue-blind)
#913458
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1f92;
/* rgb */ color: rgb(141, 31, 146);
/* oklch */ color: oklch(46.9% 0.192 326.1);
Tailwind
colors: {
  custom: {
    50: '#b269b2',
    500: '#8d1f92',
    950: '#000000',
  },
}
SCSS
$custom: #8d1f92;
$custom-light: #b269b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1f92",
  "rgb": {
    "r": 141,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 297.391,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46891,
    "c": 0.19224,
    "h": 326.1
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#8D1F92
secondary
#54BD50
accent
#E84047
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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