#8F247E#8F247E

#8F247E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.173 H 335.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#8F247E
RGBrgb(143, 36, 126)
HSLhsl(310, 60%, 35%)
HSVhsv(310, 75%, 56%)
CMYKcmyk(0%, 74.8%, 11.9%, 43.9%)
CIE-LABlab(35.22, 53.71, -26.44)
CIE-LCHlch(35.22, 59.86, 333.78°)
OKLaboklab(46.44% 0.1569 -0.0722)
OKLCHoklch(46.44% 0.173 335.3)
XYZxyz(15.7247, 8.6091, 20.5682)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F247E #248F35
analogous
#6B248F #8F247E #8F2448
triadic
#8F247E #7E8F24 #247E8F
tetradic
#8F247E #8F6B24 #248F35 #24488F
square
#8F247E #8F6B24 #248F35 #24488F
split-complementary
#8F247E #488F24 #248F6B
monochromatic
#2D0B28 #5E1853 #8F247E #C030A9 #D558C1

Accessibility & contrast

On white

7.72
#8F247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#8F247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F247E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F247E#FFFFFF#000000##FFFFFF
##8F247E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#962C4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f247e;
/* rgb */ color: rgb(143, 36, 126);
/* oklch */ color: oklch(46.4% 0.173 335.3);
Tailwind
colors: {
  custom: {
    50: '#b36aa3',
    500: '#8f247e',
    950: '#000000',
  },
}
SCSS
$custom: #8f247e;
$custom-light: #b36aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f247e",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 309.533,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4644,
    "c": 0.17271,
    "h": 335.3
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#8F247E
secondary
#55B965
accent
#E35E45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F247E

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

Preview Lab → · Contrast checker → · Palette generator →

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