#8D57DC#8D57DC

#8D57DC is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.2% C 0.195 H 298.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8D57DC
RGBrgb(141, 87, 220)
HSLhsl(264, 66%, 60%)
HSVhsv(264, 60%, 86%)
CMYKcmyk(35.9%, 60.5%, 0%, 13.7%)
CIE-LABlab(49.06, 49.48, -60.16)
CIE-LCHlch(49.06, 77.89, 309.44°)
OKLaboklab(58.21% 0.0944 -0.1709)
OKLCHoklch(58.21% 0.195 298.9)
XYZxyz(27.3078, 17.6461, 69.6636)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57DC #A6DC57
analogous
#5763DC #8D57DC #CF57DC
triadic
#8D57DC #DC8D57 #57DC8D
tetradic
#8D57DC #DC5763 #A6DC57 #57DCCF
square
#8D57DC #DC5763 #A6DC57 #57DCCF
split-complementary
#8D57DC #DCCF57 #63DC57
monochromatic
#512099 #6C2ACB #8D57DC #AF8AE7 #D2BCF1

Accessibility & contrast

On white

4.64
#8D57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8D57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57DC#FFFFFF#000000##FFFFFF
##8D57DC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2373D9
Tritanopia (blue-blind)
#7B7491
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d57dc;
/* rgb */ color: rgb(141, 87, 220);
/* oklch */ color: oklch(58.2% 0.195 298.9);
Tailwind
colors: {
  custom: {
    50: '#b389e8',
    500: '#8d57dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d57dc;
$custom-light: #b389e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57dc",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 264.361,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.19523,
    "h": 298.9
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#8D57DC
secondary
#CCE1AE
accent
#CD1884
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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