#8E57E7#8E57E7

#8E57E7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.208 H 297.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8E57E7
RGBrgb(142, 87, 231)
HSLhsl(263, 75%, 62%)
HSVhsv(263, 62%, 91%)
CMYKcmyk(38.5%, 62.3%, 0%, 9.4%)
CIE-LABlab(49.90, 52.49, -65.02)
CIE-LCHlch(49.90, 83.56, 308.91°)
OKLaboklab(59.07% 0.095 -0.1852)
OKLCHoklch(59.07% 0.208 297.2)
XYZxyz(28.9836, 18.3362, 77.5980)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57E7 #B0E757
analogous
#5768E7 #8E57E7 #D657E7
triadic
#8E57E7 #E78E57 #57E78E
tetradic
#8E57E7 #E75768 #B0E757 #57E7D6
square
#8E57E7 #E75768 #B0E757 #57E7D6
split-complementary
#8E57E7 #E7D657 #68E757
monochromatic
#5018AB #6A21DF #8E57E7 #B28DEF #D6C2F6

Accessibility & contrast

On white

4.50
#8E57E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#8E57E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E57E7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57E7#FFFFFF#000000##000000
##8E57E71.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#787797
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e57e7;
/* rgb */ color: rgb(142, 87, 231);
/* oklch */ color: oklch(59.1% 0.208 297.2);
Tailwind
colors: {
  custom: {
    50: '#b589ef',
    500: '#8e57e7',
    950: '#000000',
  },
}
SCSS
$custom: #8e57e7;
$custom-light: #b589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57e7",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 262.917,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59072,
    "c": 0.20814,
    "h": 297.2
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#8E57E7
secondary
#D3E7B3
accent
#D70E8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E57E7

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

Preview Lab → · Contrast checker → · Palette generator →

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