#8D2E8A#8D2E8A

#8D2E8A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.169 H 329.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8D2E8A
RGBrgb(141, 46, 138)
HSLhsl(302, 51%, 37%)
HSVhsv(302, 67%, 55%)
CMYKcmyk(0%, 67.4%, 2.1%, 44.7%)
CIE-LABlab(36.84, 51.43, -31.35)
CIE-LCHlch(36.84, 60.23, 328.64°)
OKLaboklab(47.75% 0.1447 -0.0865)
OKLCHoklch(47.75% 0.169 329.1)
XYZxyz(16.5488, 9.4529, 24.9928)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2E8A #2E8D31
analogous
#612E8D #8D2E8A #8D2E5B
triadic
#8D2E8A #8A8D2E #2E8A8D
tetradic
#8D2E8A #8D612E #2E8D31 #2E5B8D
square
#8D2E8A #8D612E #2E8D31 #2E5B8D
split-complementary
#8D2E8A #5B8D2E #2E8D61
monochromatic
#311030 #5F1F5D #8D2E8A #BB3DB7 #CE68CA

Accessibility & contrast

On white

7.27
#8D2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2E8A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2E8A#FFFFFF#000000##FFFFFF
##8D2E8A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#475B88
Tritanopia (blue-blind)
#923A58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2e8a;
/* rgb */ color: rgb(141, 46, 138);
/* oklch */ color: oklch(47.7% 0.169 329.1);
Tailwind
colors: {
  custom: {
    50: '#b16fac',
    500: '#8d2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2e8a;
$custom-light: #b16fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2e8a",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 301.895,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47749,
    "c": 0.16855,
    "h": 329.1
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#8D2E8A
secondary
#62B565
accent
#DA524E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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