#8D57CE#8D57CE

#8D57CE is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.179 H 302.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8D57CE
RGBrgb(141, 87, 206)
HSLhsl(267, 55%, 57%)
HSVhsv(267, 58%, 81%)
CMYKcmyk(31.6%, 57.8%, 0%, 19.2%)
CIE-LABlab(48.18, 45.98, -53.59)
CIE-LCHlch(48.18, 70.61, 310.63°)
OKLaboklab(57.28% 0.0947 -0.1516)
OKLCHoklch(57.28% 0.179 302)
XYZxyz(25.5307, 16.9353, 60.3044)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57CE #98CE57
analogous
#575CCE #8D57CE #C957CE
triadic
#8D57CE #CE8D57 #57CE8D
tetradic
#8D57CE #CE575C #98CE57 #57CEC9
square
#8D57CE #CE575C #98CE57 #57CEC9
split-complementary
#8D57CE #CEC957 #5CCE57
monochromatic
#512784 #6E34B3 #8D57CE #AD86DC #CDB6EA

Accessibility & contrast

On white

4.79
#8D57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8D57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57CE#FFFFFF#000000##FFFFFF
##8D57CE1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D2
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#806F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d57ce;
/* rgb */ color: rgb(141, 87, 206);
/* oklch */ color: oklch(57.3% 0.179 302.0);
Tailwind
colors: {
  custom: {
    50: '#b288de',
    500: '#8d57ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d57ce;
$custom-light: #b288de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57ce",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 267.227,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57277,
    "c": 0.17875,
    "h": 302
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#8D57CE
secondary
#C3D8A8
accent
#DE4A9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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