#8D57AF#8D57AF

#8D57AF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.4% C 0.142 H 310.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8D57AF
RGBrgb(141, 87, 175)
HSLhsl(277, 35%, 51%)
HSVhsv(277, 50%, 69%)
CMYKcmyk(19.4%, 50.3%, 0%, 31.4%)
CIE-LABlab(46.41, 38.58, -38.43)
CIE-LCHlch(46.41, 54.45, 315.11°)
OKLaboklab(55.4% 0.0929 -0.1073)
OKLCHoklch(55.4% 0.142 310.9)
XYZxyz(22.1292, 15.5747, 42.3896)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57AF #79AF57
analogous
#6157AF #8D57AF #AF57A5
triadic
#8D57AF #AF8D57 #57AF8D
tetradic
#8D57AF #AF6157 #79AF57 #57A5AF
square
#8D57AF #AF6157 #79AF57 #57A5AF
split-complementary
#8D57AF #A5AF57 #57AF61
monochromatic
#4B2D5F #6C4188 #8D57AF #A980C3 #C5AAD6

Accessibility & contrast

On white

5.10
#8D57AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8D57AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57AF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57AF#FFFFFF#000000##FFFFFF
##8D57AF1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#89657B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d57af;
/* rgb */ color: rgb(141, 87, 175);
/* oklch */ color: oklch(55.4% 0.142 310.9);
Tailwind
colors: {
  custom: {
    50: '#b088c7',
    500: '#8d57af',
    950: '#000000',
  },
}
SCSS
$custom: #8d57af;
$custom-light: #b088c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57af",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 175
  },
  "hsl": {
    "h": 276.818,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55404,
    "c": 0.14194,
    "h": 310.9
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#8D57AF
secondary
#ACC49E
accent
#CC5C87
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D57AF

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

Preview Lab → · Contrast checker → · Palette generator →

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