#8E2D74#8E2D74

#8E2D74 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.6% C 0.153 H 340.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8E2D74
RGBrgb(142, 45, 116)
HSLhsl(316, 52%, 37%)
HSVhsv(316, 68%, 56%)
CMYKcmyk(0%, 68.3%, 18.3%, 44.3%)
CIE-LABlab(35.77, 48.52, -19.34)
CIE-LCHlch(35.77, 52.23, 338.27°)
OKLaboklab(46.65% 0.1443 -0.0521)
OKLCHoklch(46.65% 0.153 340.2)
XYZxyz(15.2465, 8.8899, 17.4326)
Luminance0.0889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D74 #2D8E47
analogous
#782D8E #8E2D74 #8E2D44
triadic
#8E2D74 #748E2D #2D748E
tetradic
#8E2D74 #8E782D #2D8E47 #2D448E
square
#8E2D74 #8E782D #2D8E47 #2D448E
split-complementary
#8E2D74 #448E2D #2D8E78
monochromatic
#311028 #601E4E #8E2D74 #BC3C9A #CF67B3

Accessibility & contrast

On white

7.56
#8E2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8E2D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D74
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D74#FFFFFF#000000##FFFFFF
##8E2D741.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A76
Deuteranopia (green-blind)
#515A72
Tritanopia (blue-blind)
#96304C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e2d74;
/* rgb */ color: rgb(142, 45, 116);
/* oklch */ color: oklch(46.6% 0.153 340.2);
Tailwind
colors: {
  custom: {
    50: '#b26e9c',
    500: '#8e2d74',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d74;
$custom-light: #b26e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d74",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 316.082,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46649,
    "c": 0.15341,
    "h": 340.2
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#8E2D74
secondary
#61B578
accent
#DB734C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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