#8E57EB#8E57EB

#8E57EB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.213 H 296.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8E57EB
RGBrgb(142, 87, 235)
HSLhsl(262, 79%, 63%)
HSVhsv(262, 63%, 92%)
CMYKcmyk(39.6%, 63%, 0%, 7.8%)
CIE-LABlab(50.17, 53.51, -66.83)
CIE-LCHlch(50.17, 85.61, 308.68°)
OKLaboklab(59.36% 0.0947 -0.1905)
OKLCHoklch(59.36% 0.213 296.4)
XYZxyz(29.5550, 18.5648, 80.6074)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57EB #B4EB57
analogous
#576AEB #8E57EB #D857EB
triadic
#8E57EB #EB8E57 #57EB8E
tetradic
#8E57EB #EB576A #B4EB57 #57EBD8
square
#8E57EB #EB576A #B4EB57 #57EBD8
split-complementary
#8E57EB #EBD857 #6AEB57
monochromatic
#5015B2 #6920E4 #8E57EB #B38EF2 #D8C4F8

Accessibility & contrast

On white

4.46
#8E57EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8E57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E57EB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57EB#FFFFFF#000000##000000
##8E57EB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#777999
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8e57eb;
/* rgb */ color: rgb(142, 87, 235);
/* oklch */ color: oklch(59.4% 0.213 296.4);
Tailwind
colors: {
  custom: {
    50: '#b589f2',
    500: '#8e57eb',
    950: '#000000',
  },
}
SCSS
$custom: #8e57eb;
$custom-light: #b589f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57eb",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 262.297,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59356,
    "c": 0.21275,
    "h": 296.4
  },
  "luminance": 0.18565
}

Semantic roles & 50–950 ramp

primary
#8E57EB
secondary
#D6E9B4
accent
#DB0A8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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