#8D247F#8D247F

#8D247F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.172 H 334.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8D247F
RGBrgb(141, 36, 127)
HSLhsl(308, 59%, 35%)
HSVhsv(308, 74%, 55%)
CMYKcmyk(0%, 74.5%, 9.9%, 44.7%)
CIE-LABlab(34.92, 53.38, -27.57)
CIE-LCHlch(34.92, 60.07, 332.69°)
OKLaboklab(46.17% 0.1549 -0.0755)
OKLCHoklch(46.17% 0.172 334)
XYZxyz(15.4463, 8.4581, 20.8936)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D247F #248D32
analogous
#67248D #8D247F #8D244B
triadic
#8D247F #7F8D24 #247F8D
tetradic
#8D247F #8D6724 #248D32 #244B8D
square
#8D247F #8D6724 #248D32 #244B8D
split-complementary
#8D247F #4B8D24 #248D67
monochromatic
#2B0B27 #5C1853 #8D247F #BE30AB #D457C4

Accessibility & contrast

On white

7.80
#8D247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8D247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D247F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D247F#FFFFFF#000000##FFFFFF
##8D247F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224882
Deuteranopia (green-blind)
#48587C
Tritanopia (blue-blind)
#942E4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d247f;
/* rgb */ color: rgb(141, 36, 127);
/* oklch */ color: oklch(46.2% 0.172 334.0);
Tailwind
colors: {
  custom: {
    50: '#b26aa4',
    500: '#8d247f',
    950: '#000000',
  },
}
SCSS
$custom: #8d247f;
$custom-light: #b26aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d247f",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 308,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.17228,
    "h": 334
  },
  "luminance": 0.08457
}

Semantic roles & 50–950 ramp

primary
#8D247F
secondary
#54B862
accent
#E35A45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D247F

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

Preview Lab → · Contrast checker → · Palette generator →

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