#8D2E7F#8D2E7F

#8D2E7F is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.160 H 334.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#8D2E7F
RGBrgb(141, 46, 127)
HSLhsl(309, 51%, 37%)
HSVhsv(309, 67%, 55%)
CMYKcmyk(0%, 67.4%, 9.9%, 44.7%)
CIE-LABlab(36.27, 49.57, -25.45)
CIE-LCHlch(36.27, 55.72, 332.83°)
OKLaboklab(47.15% 0.1437 -0.0695)
OKLCHoklch(47.15% 0.16 334.2)
XYZxyz(15.7924, 9.1503, 21.0090)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E7F #2E8D3C
analogous
#6C2E8D #8D2E7F #8D2E50
triadic
#8D2E7F #7F8D2E #2E7F8D
tetradic
#8D2E7F #8D6C2E #2E8D3C #2E508D
square
#8D2E7F #8D6C2E #2E8D3C #2E508D
split-complementary
#8D2E7F #508D2E #2E8D6C
monochromatic
#31102C #5F1F55 #8D2E7F #BB3DA9 #CE68BF

Accessibility & contrast

On white

7.42
#8D2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D2E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E7F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E7F#FFFFFF#000000##FFFFFF
##8D2E7F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C81
Deuteranopia (green-blind)
#4C5A7D
Tritanopia (blue-blind)
#943552
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d2e7f;
/* rgb */ color: rgb(141, 46, 127);
/* oklch */ color: oklch(47.2% 0.160 334.2);
Tailwind
colors: {
  custom: {
    50: '#b16ea4',
    500: '#8d2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e7f;
$custom-light: #b16ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e7f",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 308.842,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.1596,
    "h": 334.2
  },
  "luminance": 0.09149
}

Semantic roles & 50–950 ramp

primary
#8D2E7F
secondary
#62B56E
accent
#DA624E
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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