#8E57E5#8E57E5

#8E57E5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.9% C 0.206 H 297.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8E57E5
RGBrgb(142, 87, 229)
HSLhsl(263, 73%, 62%)
HSVhsv(263, 62%, 90%)
CMYKcmyk(38%, 62%, 0%, 10.2%)
CIE-LABlab(49.77, 51.98, -64.11)
CIE-LCHlch(49.77, 82.54, 309.03°)
OKLaboklab(58.93% 0.0952 -0.1825)
OKLCHoklch(58.93% 0.206 297.5)
XYZxyz(28.7028, 18.2239, 76.1189)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57E5 #AEE557
analogous
#5767E5 #8E57E5 #D557E5
triadic
#8E57E5 #E58E57 #57E58E
tetradic
#8E57E5 #E55767 #AEE557 #57E5D5
square
#8E57E5 #E55767 #AEE557 #57E5D5
split-complementary
#8E57E5 #E5D557 #67E557
monochromatic
#511AA8 #6A22DD #8E57E5 #B28CED #D5C1F5

Accessibility & contrast

On white

4.52
#8E57E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#8E57E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E57E5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57E5#FFFFFF#000000##000000
##8E57E51.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0975E2
Tritanopia (blue-blind)
#797796
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8e57e5;
/* rgb */ color: rgb(142, 87, 229);
/* oklch */ color: oklch(58.9% 0.206 297.5);
Tailwind
colors: {
  custom: {
    50: '#b589ee',
    500: '#8e57e5',
    950: '#000000',
  },
}
SCSS
$custom: #8e57e5;
$custom-light: #b589ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57e5",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 263.239,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.20583,
    "h": 297.5
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#8E57E5
secondary
#D2E6B2
accent
#D51089
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E57E5

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

Preview Lab → · Contrast checker → · Palette generator →

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