#8E4792#8E4792

#8E4792 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.5% C 0.138 H 325.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8E4792
RGBrgb(142, 71, 146)
HSLhsl(297, 35%, 43%)
HSVhsv(297, 51%, 57%)
CMYKcmyk(2.7%, 51.4%, 0%, 42.7%)
CIE-LABlab(41.74, 41.38, -28.52)
CIE-LCHlch(41.74, 50.26, 325.43°)
OKLaboklab(51.5% 0.1135 -0.0785)
OKLCHoklch(51.5% 0.138 325.3)
XYZxyz(18.5965, 12.3335, 28.5896)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4792 #4B9247
analogous
#684792 #8E4792 #924770
triadic
#8E4792 #928E47 #47928E
tetradic
#8E4792 #926847 #4B9247 #477092
square
#8E4792 #926847 #4B9247 #477092
split-complementary
#8E4792 #709247 #479268
monochromatic
#3E1F40 #663369 #8E4792 #AF63B3 #C48CC7

Accessibility & contrast

On white

6.06
#8E4792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8E4792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4792
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4792#FFFFFF#000000##FFFFFF
##8E47921.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D94
Deuteranopia (green-blind)
#546690
Tritanopia (blue-blind)
#915066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e4792;
/* rgb */ color: rgb(142, 71, 146);
/* oklch */ color: oklch(51.5% 0.138 325.3);
Tailwind
colors: {
  custom: {
    50: '#b17db2',
    500: '#8e4792',
    950: '#000000',
  },
}
SCSS
$custom: #8e4792;
$custom-light: #b17db2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4792",
  "rgb": {
    "r": 142,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 296.8,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.13797,
    "h": 325.3
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#8E4792
secondary
#85B382
accent
#CB5D63
background
#FBF7FB
surface
#F6EEF6
border
#D0C9D0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8E4792

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

Preview Lab → · Contrast checker → · Palette generator →

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