#8D247C#8D247C

#8D247C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.170 H 335.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8D247C
RGBrgb(141, 36, 124)
HSLhsl(310, 59%, 35%)
HSVhsv(310, 74%, 55%)
CMYKcmyk(0%, 74.5%, 12.1%, 44.7%)
CIE-LABlab(34.76, 52.90, -25.94)
CIE-LCHlch(34.76, 58.92, 333.88°)
OKLaboklab(46.01% 0.1546 -0.0708)
OKLCHoklch(46.01% 0.17 335.4)
XYZxyz(15.2537, 8.3811, 19.8792)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D247C #248D35
analogous
#69248D #8D247C #8D2448
triadic
#8D247C #7C8D24 #247C8D
tetradic
#8D247C #8D6924 #248D35 #24488D
square
#8D247C #8D6924 #248D35 #24488D
split-complementary
#8D247C #488D24 #248D69
monochromatic
#2B0B26 #5C1851 #8D247C #BE30A7 #D457C0

Accessibility & contrast

On white

7.85
#8D247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D247C
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D247C#FFFFFF#000000##FFFFFF
##8D247C1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487E
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#942C4D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d247c;
/* rgb */ color: rgb(141, 36, 124);
/* oklch */ color: oklch(46.0% 0.170 335.4);
Tailwind
colors: {
  custom: {
    50: '#b26aa2',
    500: '#8d247c',
    950: '#000000',
  },
}
SCSS
$custom: #8d247c;
$custom-light: #b26aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d247c",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 309.714,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4601,
    "c": 0.17004,
    "h": 335.4
  },
  "luminance": 0.0838
}

Semantic roles & 50–950 ramp

primary
#8D247C
secondary
#54B865
accent
#E35F45
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D247C

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

Preview Lab → · Contrast checker → · Palette generator →

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