#8D247D#8D247D

#8D247D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.171 H 334.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8D247D
RGBrgb(141, 36, 125)
HSLhsl(309, 59%, 35%)
HSVhsv(309, 74%, 55%)
CMYKcmyk(0%, 74.5%, 11.3%, 44.7%)
CIE-LABlab(34.82, 53.06, -26.48)
CIE-LCHlch(34.82, 59.30, 333.48°)
OKLaboklab(46.06% 0.1547 -0.0724)
OKLCHoklch(46.06% 0.171 334.9)
XYZxyz(15.3172, 8.4065, 20.2140)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D247D #248D34
analogous
#69248D #8D247D #8D2449
triadic
#8D247D #7D8D24 #247D8D
tetradic
#8D247D #8D6924 #248D34 #24498D
square
#8D247D #8D6924 #248D34 #24498D
split-complementary
#8D247D #498D24 #248D69
monochromatic
#2B0B27 #5C1852 #8D247D #BE30A8 #D457C1

Accessibility & contrast

On white

7.83
#8D247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8D247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D247D
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D247D#FFFFFF#000000##FFFFFF
##8D247D1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#49577A
Tritanopia (blue-blind)
#942D4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d247d;
/* rgb */ color: rgb(141, 36, 125);
/* oklch */ color: oklch(46.1% 0.171 334.9);
Tailwind
colors: {
  custom: {
    50: '#b26aa3',
    500: '#8d247d',
    950: '#000000',
  },
}
SCSS
$custom: #8d247d;
$custom-light: #b26aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d247d",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 309.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46064,
    "c": 0.17079,
    "h": 334.9
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#8D247D
secondary
#54B864
accent
#E35D45
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D247D

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

Preview Lab → · Contrast checker → · Palette generator →

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