#8E247D#8E247D

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

Color values

HEX#8E247D
RGBrgb(142, 36, 125)
HSLhsl(310, 60%, 35%)
HSVhsv(310, 75%, 56%)
CMYKcmyk(0%, 74.6%, 12%, 44.3%)
CIE-LABlab(34.99, 53.31, -26.19)
CIE-LCHlch(34.99, 59.39, 333.83°)
OKLaboklab(46.23% 0.1557 -0.0715)
OKLCHoklch(46.23% 0.171 335.3)
XYZxyz(15.4881, 8.4946, 20.2220)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E247D #248E35
analogous
#6A248E #8E247D #8E2448
triadic
#8E247D #7D8E24 #247D8E
tetradic
#8E247D #8E6A24 #248E35 #24488E
square
#8E247D #8E6A24 #248E35 #24488E
split-complementary
#8E247D #488E24 #248E6A
monochromatic
#2C0B27 #5D1852 #8E247D #BF30A8 #D558C1

Accessibility & contrast

On white

7.78
#8E247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8E247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E247D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E247D#FFFFFF#000000##FFFFFF
##8E247D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#952C4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e247d;
/* rgb */ color: rgb(142, 36, 125);
/* oklch */ color: oklch(46.2% 0.171 335.3);
Tailwind
colors: {
  custom: {
    50: '#b26aa3',
    500: '#8e247d',
    950: '#000000',
  },
}
SCSS
$custom: #8e247d;
$custom-light: #b26aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e247d",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 309.623,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46225,
    "c": 0.17137,
    "h": 335.3
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#8E247D
secondary
#55B965
accent
#E35E45
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E247D

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

Preview Lab → · Contrast checker → · Palette generator →

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