#8E579D#8E579D

#8E579D is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.6% C 0.122 H 318.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8E579D
RGBrgb(142, 87, 157)
HSLhsl(287, 29%, 48%)
HSVhsv(287, 45%, 62%)
CMYKcmyk(9.6%, 44.6%, 0%, 38.4%)
CIE-LABlab(45.64, 34.90, -29.01)
CIE-LCHlch(45.64, 45.38, 320.26°)
OKLaboklab(54.56% 0.0915 -0.08)
OKLCHoklch(54.56% 0.122 318.8)
XYZxyz(20.6485, 15.0022, 33.6998)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E579D #669D57
analogous
#6B579D #8E579D #9D5789
triadic
#8E579D #9D8E57 #579D8E
tetradic
#8E579D #9D6B57 #669D57 #57899D
square
#8E579D #9D6B57 #669D57 #57899D
split-complementary
#8E579D #899D57 #579D6B
monochromatic
#472B4E #6A4176 #8E579D #A97BB6 #C3A3CC

Accessibility & contrast

On white

5.25
#8E579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8E579D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E579D
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E579D#FFFFFF#000000##FFFFFF
##8E579D1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C689F
Deuteranopia (green-blind)
#5B6E9B
Tritanopia (blue-blind)
#8E6072
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8e579d;
/* rgb */ color: rgb(142, 87, 157);
/* oklch */ color: oklch(54.6% 0.122 318.8);
Tailwind
colors: {
  custom: {
    50: '#b088ba',
    500: '#8e579d',
    950: '#000000',
  },
}
SCSS
$custom: #8e579d;
$custom-light: #b088ba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e579d",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 287.143,
    "s": 28.689,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54562,
    "c": 0.12154,
    "h": 318.8
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#8E579D
secondary
#9EB996
accent
#C56378
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B11
muted
#807C80

Preview Lab

Preview with #8E579D

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

Preview Lab → · Contrast checker → · Palette generator →

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