#8E57D8#8E57D8

#8E57D8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.191 H 300.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8E57D8
RGBrgb(142, 87, 216)
HSLhsl(266, 62%, 59%)
HSVhsv(266, 60%, 85%)
CMYKcmyk(34.3%, 59.7%, 0%, 15.3%)
CIE-LABlab(48.91, 48.70, -58.12)
CIE-LCHlch(48.91, 75.82, 309.96°)
OKLaboklab(58.04% 0.0958 -0.1649)
OKLCHoklch(58.04% 0.191 300.2)
XYZxyz(26.9552, 17.5248, 66.9150)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57D8 #A1D857
analogous
#5761D8 #8E57D8 #CE57D8
triadic
#8E57D8 #D88E57 #57D88E
tetradic
#8E57D8 #D85761 #A1D857 #57D8CE
square
#8E57D8 #D85761 #A1D857 #57D8CE
split-complementary
#8E57D8 #D8CE57 #61D857
monochromatic
#522293 #6E2EC4 #8E57D8 #AF89E4 #D1BAEF

Accessibility & contrast

On white

4.66
#8E57D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8E57D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E57D8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57D8#FFFFFF#000000##FFFFFF
##8E57D81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0374DC
Deuteranopia (green-blind)
#2C73D5
Tritanopia (blue-blind)
#7E728F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8e57d8;
/* rgb */ color: rgb(142, 87, 216);
/* oklch */ color: oklch(58.0% 0.191 300.2);
Tailwind
colors: {
  custom: {
    50: '#b389e5',
    500: '#8e57d8',
    950: '#000000',
  },
}
SCSS
$custom: #8e57d8;
$custom-light: #b389e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57d8",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 265.581,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.1907,
    "h": 300.2
  },
  "luminance": 0.17525
}

Semantic roles & 50–950 ramp

primary
#8E57D8
secondary
#C9DFAC
accent
#E542A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E57D8

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

Preview Lab → · Contrast checker → · Palette generator →

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