#8E2F74#8E2F74

#8E2F74 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.151 H 340.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8E2F74
RGBrgb(142, 47, 116)
HSLhsl(316, 50%, 37%)
HSVhsv(316, 67%, 56%)
CMYKcmyk(0%, 66.9%, 18.3%, 44.3%)
CIE-LABlab(36.07, 47.68, -18.87)
CIE-LCHlch(36.07, 51.28, 338.41°)
OKLaboklab(46.87% 0.1418 -0.0508)
OKLCHoklch(46.87% 0.151 340.3)
XYZxyz(15.3246, 9.0462, 17.4586)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2F74 #2F8E49
analogous
#792F8E #8E2F74 #8E2F45
triadic
#8E2F74 #748E2F #2F748E
tetradic
#8E2F74 #8E792F #2F8E49 #2F458E
square
#8E2F74 #8E792F #2F8E49 #2F458E
split-complementary
#8E2F74 #458E2F #2F8E79
monochromatic
#321129 #60204E #8E2F74 #BC3E9A #CE6AB2

Accessibility & contrast

On white

7.48
#8E2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E2F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2F74
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2F74#FFFFFF#000000##FFFFFF
##8E2F741.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B76
Deuteranopia (green-blind)
#525A72
Tritanopia (blue-blind)
#96314D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2f74;
/* rgb */ color: rgb(142, 47, 116);
/* oklch */ color: oklch(46.9% 0.151 340.3);
Tailwind
colors: {
  custom: {
    50: '#b26f9c',
    500: '#8e2f74',
    950: '#000000',
  },
}
SCSS
$custom: #8e2f74;
$custom-light: #b26f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2f74",
  "rgb": {
    "r": 142,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 316.421,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46869,
    "c": 0.15061,
    "h": 340.3
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#8E2F74
secondary
#64B57A
accent
#DA744E
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #8E2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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