#8E247F#8E247F

#8E247F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.173 H 334.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8E247F
RGBrgb(142, 36, 127)
HSLhsl(308, 60%, 35%)
HSVhsv(308, 75%, 56%)
CMYKcmyk(0%, 74.6%, 10.6%, 44.3%)
CIE-LABlab(35.10, 53.62, -27.28)
CIE-LCHlch(35.10, 60.16, 333.04°)
OKLaboklab(46.33% 0.1559 -0.0746)
OKLCHoklch(46.33% 0.173 334.4)
XYZxyz(15.6171, 8.5462, 20.9016)
Luminance0.0854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E247F #248E33
analogous
#68248E #8E247F #8E244A
triadic
#8E247F #7F8E24 #247F8E
tetradic
#8E247F #8E6824 #248E33 #244A8E
square
#8E247F #8E6824 #248E33 #244A8E
split-complementary
#8E247F #4A8E24 #248E68
monochromatic
#2C0B28 #5D1853 #8E247F #BF30AB #D558C3

Accessibility & contrast

On white

7.75
#8E247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#8E247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E247F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E247F#FFFFFF#000000##FFFFFF
##8E247F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224981
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#952D4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e247f;
/* rgb */ color: rgb(142, 36, 127);
/* oklch */ color: oklch(46.3% 0.173 334.4);
Tailwind
colors: {
  custom: {
    50: '#b26aa4',
    500: '#8e247f',
    950: '#000000',
  },
}
SCSS
$custom: #8e247f;
$custom-light: #b26aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e247f",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 308.491,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46333,
    "c": 0.17286,
    "h": 334.4
  },
  "luminance": 0.08545
}

Semantic roles & 50–950 ramp

primary
#8E247F
secondary
#55B963
accent
#E35B45
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E247F

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

Preview Lab → · Contrast checker → · Palette generator →

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