#8F247F#8F247F

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

Color values

HEX#8F247F
RGBrgb(143, 36, 127)
HSLhsl(309, 60%, 35%)
HSVhsv(309, 75%, 56%)
CMYKcmyk(0%, 74.8%, 11.2%, 43.9%)
CIE-LABlab(35.27, 53.86, -26.99)
CIE-LCHlch(35.27, 60.24, 333.39°)
OKLaboklab(46.49% 0.157 -0.0738)
OKLCHoklch(46.49% 0.173 334.8)
XYZxyz(15.7895, 8.6351, 20.9097)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F247F #248F34
analogous
#6A248F #8F247F #8F2449
triadic
#8F247F #7F8F24 #247F8F
tetradic
#8F247F #8F6A24 #248F34 #24498F
square
#8F247F #8F6A24 #248F34 #24498F
split-complementary
#8F247F #498F24 #248F6A
monochromatic
#2D0B28 #5E1854 #8F247F #C030AA #D558C2

Accessibility & contrast

On white

7.70
#8F247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F247F
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F247F#FFFFFF#000000##FFFFFF
##8F247F1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234981
Deuteranopia (green-blind)
#4A597C
Tritanopia (blue-blind)
#962D4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f247f;
/* rgb */ color: rgb(143, 36, 127);
/* oklch */ color: oklch(46.5% 0.173 334.8);
Tailwind
colors: {
  custom: {
    50: '#b36aa4',
    500: '#8f247f',
    950: '#000000',
  },
}
SCSS
$custom: #8f247f;
$custom-light: #b36aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f247f",
  "rgb": {
    "r": 143,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 308.972,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46493,
    "c": 0.17344,
    "h": 334.8
  },
  "luminance": 0.08634
}

Semantic roles & 50–950 ramp

primary
#8F247F
secondary
#55B964
accent
#E35C45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F247F

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

Preview Lab → · Contrast checker → · Palette generator →

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