#8D247E#8D247E

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

Color values

HEX#8D247E
RGBrgb(141, 36, 126)
HSLhsl(309, 59%, 35%)
HSVhsv(309, 74%, 55%)
CMYKcmyk(0%, 74.5%, 10.6%, 44.7%)
CIE-LABlab(34.87, 53.22, -27.02)
CIE-LCHlch(34.87, 59.69, 333.08°)
OKLaboklab(46.12% 0.1548 -0.0739)
OKLCHoklch(46.12% 0.172 334.5)
XYZxyz(15.3814, 8.4322, 20.5521)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D247E #248D33
analogous
#67248D #8D247E #8D244A
triadic
#8D247E #7E8D24 #247E8D
tetradic
#8D247E #8D6724 #248D33 #244A8D
square
#8D247E #8D6724 #248D33 #244A8D
split-complementary
#8D247E #4A8D24 #248D67
monochromatic
#2B0B27 #5C1852 #8D247E #BE30AA #D457C2

Accessibility & contrast

On white

7.82
#8D247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D247E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D247E#FFFFFF#000000##FFFFFF
##8D247E1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#942D4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8d247e;
/* rgb */ color: rgb(141, 36, 126);
/* oklch */ color: oklch(46.1% 0.172 334.5);
Tailwind
colors: {
  custom: {
    50: '#b26aa3',
    500: '#8d247e',
    950: '#000000',
  },
}
SCSS
$custom: #8d247e;
$custom-light: #b26aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d247e",
  "rgb": {
    "r": 141,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 308.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.17153,
    "h": 334.5
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#8D247E
secondary
#54B863
accent
#E35C45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8D247E

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

Preview Lab → · Contrast checker → · Palette generator →

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