#8D1E7B#8D1E7B

#8D1E7B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.176 H 335.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8D1E7B
RGBrgb(141, 30, 123)
HSLhsl(310, 65%, 34%)
HSVhsv(310, 79%, 55%)
CMYKcmyk(0%, 78.7%, 12.8%, 44.7%)
CIE-LABlab(34.03, 54.70, -26.46)
CIE-LCHlch(34.03, 60.76, 334.19°)
OKLaboklab(45.47% 0.1603 -0.0723)
OKLCHoklch(45.47% 0.176 335.7)
XYZxyz(15.0242, 8.0227, 19.4923)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E7B #1E8D30
analogous
#671E8D #8D1E7B #8D1E43
triadic
#8D1E7B #7B8D1E #1E7B8D
tetradic
#8D1E7B #8D671E #1E8D30 #1E438D
square
#8D1E7B #8D671E #1E8D30 #1E438D
split-complementary
#8D1E7B #438D1E #1E8D67
monochromatic
#280923 #5B134F #8D1E7B #BF29A7 #D94CC2

Accessibility & contrast

On white

8.06
#8D1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8D1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E7B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E7B#FFFFFF#000000##FFFFFF
##8D1E7B1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457D
Deuteranopia (green-blind)
#475678
Tritanopia (blue-blind)
#94274B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1e7b;
/* rgb */ color: rgb(141, 30, 123);
/* oklch */ color: oklch(45.5% 0.176 335.7);
Tailwind
colors: {
  custom: {
    50: '#b267a1',
    500: '#8d1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e7b;
$custom-light: #b267a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e7b",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 309.73,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45465,
    "c": 0.17583,
    "h": 335.7
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#8D1E7B
secondary
#4BBC5D
accent
#E85B40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8D1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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