#8D2F8A#8D2F8A

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

Color values

HEX#8D2F8A
RGBrgb(141, 47, 138)
HSLhsl(302, 50%, 37%)
HSVhsv(302, 67%, 55%)
CMYKcmyk(0%, 66.7%, 2.1%, 44.7%)
CIE-LABlab(36.99, 51.02, -31.12)
CIE-LCHlch(36.99, 59.76, 328.62°)
OKLaboklab(47.86% 0.1435 -0.0858)
OKLCHoklch(47.86% 0.167 329.1)
XYZxyz(16.5883, 9.5319, 25.0060)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F8A #2F8D32
analogous
#612F8D #8D2F8A #8D2F5B
triadic
#8D2F8A #8A8D2F #2F8A8D
tetradic
#8D2F8A #8D612F #2F8D32 #2F5B8D
square
#8D2F8A #8D612F #2F8D32 #2F5B8D
split-complementary
#8D2F8A #5B8D2F #2F8D61
monochromatic
#311030 #5F205D #8D2F8A #BB3EB7 #CD69CA

Accessibility & contrast

On white

7.23
#8D2F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D2F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F8A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F8A#FFFFFF#000000##FFFFFF
##8D2F8A1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#485B88
Tritanopia (blue-blind)
#923B58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d2f8a;
/* rgb */ color: rgb(141, 47, 138);
/* oklch */ color: oklch(47.9% 0.167 329.1);
Tailwind
colors: {
  custom: {
    50: '#b16fac',
    500: '#8d2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f8a;
$custom-light: #b16fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f8a",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 301.915,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.1672,
    "h": 329.1
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#8D2F8A
secondary
#64B466
accent
#DA534E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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