#8D57D1#8D57D1

#8D57D1 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.182 H 301.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D57D1
RGBrgb(141, 87, 209)
HSLhsl(267, 57%, 58%)
HSVhsv(267, 58%, 82%)
CMYKcmyk(32.5%, 58.4%, 0%, 18%)
CIE-LABlab(48.36, 46.72, -55.01)
CIE-LCHlch(48.36, 72.18, 310.34°)
OKLaboklab(57.47% 0.0947 -0.1558)
OKLCHoklch(57.47% 0.182 301.3)
XYZxyz(25.8986, 17.0825, 62.2421)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57D1 #9BD157
analogous
#575ED1 #8D57D1 #CA57D1
triadic
#8D57D1 #D18D57 #57D18D
tetradic
#8D57D1 #D1575E #9BD157 #57D1CA
square
#8D57D1 #D1575E #9BD157 #57D1CA
split-complementary
#8D57D1 #D1CA57 #5ED157
monochromatic
#512588 #6E32B8 #8D57D1 #AE87DE #CEB7EB

Accessibility & contrast

On white

4.75
#8D57D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8D57D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57D1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57D1#FFFFFF#000000##FFFFFF
##8D57D11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A72D5
Deuteranopia (green-blind)
#3472CE
Tritanopia (blue-blind)
#7F708C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d57d1;
/* rgb */ color: rgb(141, 87, 209);
/* oklch */ color: oklch(57.5% 0.182 301.3);
Tailwind
colors: {
  custom: {
    50: '#b289e0',
    500: '#8d57d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d57d1;
$custom-light: #b289e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57d1",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 209
  },
  "hsl": {
    "h": 266.557,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.1823,
    "h": 301.3
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

primary
#8D57D1
secondary
#C5DAAA
accent
#E0489D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57D1

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

Preview Lab → · Contrast checker → · Palette generator →

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