#8E57DC#8E57DC

#8E57DC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.195 H 299.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8E57DC
RGBrgb(142, 87, 220)
HSLhsl(265, 66%, 60%)
HSVhsv(265, 60%, 86%)
CMYKcmyk(35.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(49.17, 49.70, -59.98)
CIE-LCHlch(49.17, 77.89, 309.65°)
OKLaboklab(58.31% 0.0957 -0.1703)
OKLCHoklch(58.31% 0.195 299.3)
XYZxyz(27.4786, 17.7342, 69.6716)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57DC #A5DC57
analogous
#5762DC #8E57DC #D057DC
triadic
#8E57DC #DC8E57 #57DC8E
tetradic
#8E57DC #DC5762 #A5DC57 #57DCD0
square
#8E57DC #DC5762 #A5DC57 #57DCD0
split-complementary
#8E57DC #DCD057 #62DC57
monochromatic
#522099 #6D2ACB #8E57DC #B08AE7 #D2BCF1

Accessibility & contrast

On white

4.62
#8E57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8E57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E57DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57DC#FFFFFF#000000##FFFFFF
##8E57DC1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e57dc;
/* rgb */ color: rgb(142, 87, 220);
/* oklch */ color: oklch(58.3% 0.195 299.3);
Tailwind
colors: {
  custom: {
    50: '#b489e8',
    500: '#8e57dc',
    950: '#000000',
  },
}
SCSS
$custom: #8e57dc;
$custom-light: #b489e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57dc",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 264.812,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58311,
    "c": 0.19537,
    "h": 299.3
  },
  "luminance": 0.17734
}

Semantic roles & 50–950 ramp

primary
#8E57DC
secondary
#CCE1AE
accent
#CD1882
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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