#8D1D92#8D1D92

#8D1D92 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.194 H 326.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#8D1D92
RGBrgb(141, 29, 146)
HSLhsl(297, 67%, 34%)
HSVhsv(297, 80%, 57%)
CMYKcmyk(3.4%, 80.1%, 0%, 42.7%)
CIE-LABlab(35.24, 58.70, -38.81)
CIE-LCHlch(35.24, 70.37, 326.53°)
OKLaboklab(46.75% 0.1613 -0.108)
OKLCHoklch(46.75% 0.194 326.2)
XYZxyz(16.6119, 8.6179, 27.9770)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1D92 #22921D
analogous
#531D92 #8D1D92 #921D5D
triadic
#8D1D92 #928D1D #1D928D
tetradic
#8D1D92 #92531D #22921D #1D5D92
square
#8D1D92 #92531D #22921D #1D5D92
split-complementary
#8D1D92 #5D921D #1D9253
monochromatic
#2A092C #5C135F #8D1D92 #BE27C5 #D64EDC

Accessibility & contrast

On white

7.71
#8D1D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8D1D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1D92
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1D92#FFFFFF#000000##FFFFFF
##8D1D921.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#3A588F
Tritanopia (blue-blind)
#913358
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8d1d92;
/* rgb */ color: rgb(141, 29, 146);
/* oklch */ color: oklch(46.8% 0.194 326.2);
Tailwind
colors: {
  custom: {
    50: '#b268b2',
    500: '#8d1d92',
    950: '#000000',
  },
}
SCSS
$custom: #8d1d92;
$custom-light: #b268b2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1d92",
  "rgb": {
    "r": 141,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 297.436,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4675,
    "c": 0.19409,
    "h": 326.2
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#8D1D92
secondary
#51BE4C
accent
#EA3E45
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1D92

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

Preview Lab → · Contrast checker → · Palette generator →

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