#8D1E7E#8D1E7E

#8D1E7E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.178 H 334.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8D1E7E
RGBrgb(141, 30, 126)
HSLhsl(308, 65%, 34%)
HSVhsv(308, 79%, 55%)
CMYKcmyk(0%, 78.7%, 10.6%, 44.7%)
CIE-LABlab(34.19, 55.16, -28.09)
CIE-LCHlch(34.19, 61.90, 333.01°)
OKLaboklab(45.63% 0.1605 -0.0769)
OKLCHoklch(45.63% 0.178 334.4)
XYZxyz(15.2148, 8.0990, 20.4966)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E7E #1E8D2D
analogous
#641E8D #8D1E7E #8D1E46
triadic
#8D1E7E #7E8D1E #1E7E8D
tetradic
#8D1E7E #8D641E #1E8D2D #1E468D
square
#8D1E7E #8D641E #1E8D2D #1E468D
split-complementary
#8D1E7E #468D1E #1E8D64
monochromatic
#280924 #5B1351 #8D1E7E #BF29AB #D94CC6

Accessibility & contrast

On white

8.02
#8D1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8D1E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D1E7E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D1E7E#FFFFFF#000000##FFFFFF
##8D1E7E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4681
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#94294D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d1e7e;
/* rgb */ color: rgb(141, 30, 126);
/* oklch */ color: oklch(45.6% 0.178 334.4);
Tailwind
colors: {
  custom: {
    50: '#b267a4',
    500: '#8d1e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e7e;
$custom-light: #b267a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e7e",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 308.108,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4563,
    "c": 0.17799,
    "h": 334.4
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#8D1E7E
secondary
#4BBC5A
accent
#E85740
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D1E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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