#8E57CD#8E57CD

#8E57CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.178 H 302.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8E57CD
RGBrgb(142, 87, 205)
HSLhsl(268, 54%, 57%)
HSVhsv(268, 58%, 80%)
CMYKcmyk(30.7%, 57.6%, 0%, 19.6%)
CIE-LABlab(48.23, 45.97, -52.93)
CIE-LCHlch(48.23, 70.11, 310.98°)
OKLaboklab(57.32% 0.0959 -0.1497)
OKLCHoklch(57.32% 0.178 302.7)
XYZxyz(25.5805, 16.9749, 59.6746)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57CD #96CD57
analogous
#575BCD #8E57CD #C957CD
triadic
#8E57CD #CD8E57 #57CD8E
tetradic
#8E57CD #CD575B #96CD57 #57CDC9
square
#8E57CD #CD575B #96CD57 #57CDC9
split-complementary
#8E57CD #CDC957 #5BCD57
monochromatic
#522783 #6F35B2 #8E57CD #AE86DB #CDB5E9

Accessibility & contrast

On white

4.78
#8E57CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E57CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57CD#FFFFFF#000000##FFFFFF
##8E57CD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#826F8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8e57cd;
/* rgb */ color: rgb(142, 87, 205);
/* oklch */ color: oklch(57.3% 0.178 302.7);
Tailwind
colors: {
  custom: {
    50: '#b389dd',
    500: '#8e57cd',
    950: '#000000',
  },
}
SCSS
$custom: #8e57cd;
$custom-light: #b389dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57cd",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 267.966,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57319,
    "c": 0.17778,
    "h": 302.7
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#8E57CD
secondary
#C2D8A8
accent
#DD4A99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8E57CD

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

Preview Lab → · Contrast checker → · Palette generator →

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