#8E4F97#8E4F97

#8E4F97 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.0% C 0.129 H 322.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#8E4F97
RGBrgb(142, 79, 151)
HSLhsl(293, 31%, 45%)
HSVhsv(293, 48%, 59%)
CMYKcmyk(6%, 47.7%, 0%, 40.8%)
CIE-LABlab(43.62, 38.09, -28.58)
CIE-LCHlch(43.62, 47.62, 323.12°)
OKLaboklab(52.97% 0.1024 -0.0787)
OKLCHoklch(52.97% 0.129 322.4)
XYZxyz(19.5366, 13.5779, 30.8639)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4F97 #58974F
analogous
#6A4F97 #8E4F97 #974F7C
triadic
#8E4F97 #978E4F #4F978E
tetradic
#8E4F97 #976A4F #58974F #4F7C97
square
#8E4F97 #976A4F #58974F #4F7C97
split-complementary
#8E4F97 #7C974F #4F976A
monochromatic
#422547 #683A6F #8E4F97 #AB6FB4 #C398C9

Accessibility & contrast

On white

5.65
#8E4F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8E4F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4F97
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4F97#FFFFFF#000000##FFFFFF
##8E4F971.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#576A95
Tritanopia (blue-blind)
#90586C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e4f97;
/* rgb */ color: rgb(142, 79, 151);
/* oklch */ color: oklch(53.0% 0.129 322.4);
Tailwind
colors: {
  custom: {
    50: '#b182b6',
    500: '#8e4f97',
    950: '#000000',
  },
}
SCSS
$custom: #8e4f97;
$custom-light: #b182b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4f97",
  "rgb": {
    "r": 142,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 292.5,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.12921,
    "h": 322.4
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#8E4F97
secondary
#91B68C
accent
#C7606D
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8E4F97

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

Preview Lab → · Contrast checker → · Palette generator →

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