#8E247E#8E247E

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

Color values

HEX#8E247E
RGBrgb(142, 36, 126)
HSLhsl(309, 60%, 35%)
HSVhsv(309, 75%, 56%)
CMYKcmyk(0%, 74.6%, 11.3%, 44.3%)
CIE-LABlab(35.04, 53.46, -26.73)
CIE-LCHlch(35.04, 59.77, 333.43°)
OKLaboklab(46.28% 0.1558 -0.0731)
OKLCHoklch(46.28% 0.172 334.9)
XYZxyz(15.5523, 8.5203, 20.5601)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E247E #248E34
analogous
#69248E #8E247E #8E2449
triadic
#8E247E #7E8E24 #247E8E
tetradic
#8E247E #8E6924 #248E34 #24498E
square
#8E247E #8E6924 #248E34 #24498E
split-complementary
#8E247E #498E24 #248E69
monochromatic
#2C0B27 #5D1853 #8E247E #BF30A9 #D558C2

Accessibility & contrast

On white

7.77
#8E247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E247E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E247E#FFFFFF#000000##FFFFFF
##8E247E1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#49587B
Tritanopia (blue-blind)
#952D4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e247e;
/* rgb */ color: rgb(142, 36, 126);
/* oklch */ color: oklch(46.3% 0.172 334.9);
Tailwind
colors: {
  custom: {
    50: '#b26aa3',
    500: '#8e247e',
    950: '#000000',
  },
}
SCSS
$custom: #8e247e;
$custom-light: #b26aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e247e",
  "rgb": {
    "r": 142,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 309.057,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46279,
    "c": 0.17211,
    "h": 334.9
  },
  "luminance": 0.08519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8E247E

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

Preview Lab → · Contrast checker → · Palette generator →

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