#8D57CC#8D57CC

#8D57CC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.176 H 302.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D57CC
RGBrgb(141, 87, 204)
HSLhsl(268, 53%, 57%)
HSVhsv(268, 57%, 80%)
CMYKcmyk(30.9%, 57.4%, 0%, 20%)
CIE-LABlab(48.06, 45.49, -52.64)
CIE-LCHlch(48.06, 69.57, 310.83°)
OKLaboklab(57.15% 0.0947 -0.1488)
OKLCHoklch(57.15% 0.176 302.5)
XYZxyz(25.2893, 16.8387, 59.0329)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D57CC #96CC57
analogous
#575CCC #8D57CC #C757CC
triadic
#8D57CC #CC8D57 #57CC8D
tetradic
#8D57CC #CC575C #96CC57 #57CCC7
square
#8D57CC #CC575C #96CC57 #57CCC7
split-complementary
#8D57CC #CCC757 #5CCC57
monochromatic
#512781 #6E36B0 #8D57CC #AD86DA #CDB5E9

Accessibility & contrast

On white

4.81
#8D57CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8D57CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D57CC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D57CC#FFFFFF#000000##FFFFFF
##8D57CC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#816E89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d57cc;
/* rgb */ color: rgb(141, 87, 204);
/* oklch */ color: oklch(57.1% 0.176 302.5);
Tailwind
colors: {
  custom: {
    50: '#b288dc',
    500: '#8d57cc',
    950: '#000000',
  },
}
SCSS
$custom: #8d57cc;
$custom-light: #b288dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d57cc",
  "rgb": {
    "r": 141,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 267.692,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.17638,
    "h": 302.5
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#8D57CC
secondary
#C1D7A8
accent
#DD4B9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D57CC

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

Preview Lab → · Contrast checker → · Palette generator →

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