#8E57E8#8E57E8

#8E57E8 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.209 H 297.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8E57E8
RGBrgb(142, 87, 232)
HSLhsl(263, 76%, 63%)
HSVhsv(263, 63%, 91%)
CMYKcmyk(38.8%, 62.5%, 0%, 9%)
CIE-LABlab(49.97, 52.74, -65.48)
CIE-LCHlch(49.97, 84.08, 308.85°)
OKLaboklab(59.14% 0.095 -0.1865)
OKLCHoklch(59.14% 0.209 297)
XYZxyz(29.1253, 18.3929, 78.3440)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57E8 #B1E857
analogous
#5768E8 #8E57E8 #D757E8
triadic
#8E57E8 #E88E57 #57E88E
tetradic
#8E57E8 #E85768 #B1E857 #57E8D7
square
#8E57E8 #E85768 #B1E857 #57E8D7
split-complementary
#8E57E8 #E8D757 #68E857
monochromatic
#5018AD #6A21E1 #8E57E8 #B28DEF #D6C3F7

Accessibility & contrast

On white

4.49
#8E57E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8E57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E57E8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57E8#FFFFFF#000000##000000
##8E57E81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#787898
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e57e8;
/* rgb */ color: rgb(142, 87, 232);
/* oklch */ color: oklch(59.1% 0.209 297.0);
Tailwind
colors: {
  custom: {
    50: '#b589f0',
    500: '#8e57e8',
    950: '#000000',
  },
}
SCSS
$custom: #8e57e8;
$custom-light: #b589f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57e8",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 262.759,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59143,
    "c": 0.2093,
    "h": 297
  },
  "luminance": 0.18393
}

Semantic roles & 50–950 ramp

primary
#8E57E8
secondary
#D4E8B3
accent
#D80D8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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