#8E57FC#8E57FC

#8E57FC is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.232 H 293.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E57FC
RGBrgb(142, 87, 252)
HSLhsl(260, 96%, 66%)
HSVhsv(260, 65%, 99%)
CMYKcmyk(43.7%, 65.5%, 0%, 1.2%)
CIE-LABlab(51.38, 57.89, -74.38)
CIE-LCHlch(51.38, 94.26, 307.89°)
OKLaboklab(60.6% 0.0929 -0.2127)
OKLCHoklch(60.6% 0.232 293.6)
XYZxyz(32.1294, 19.5945, 94.1659)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57FC #C5FC57
analogous
#5773FC #8E57FC #E157FC
triadic
#8E57FC #FC8E57 #57FC8E
tetradic
#8E57FC #FC5773 #C5FC57 #57FCE1
square
#8E57FC #FC5773 #C5FC57 #57FCE1
split-complementary
#8E57FC #FCE157 #73FC57
monochromatic
#4904D5 #661BFB #8E57FC #B693FD #DFCFFE

Accessibility & contrast

On white

4.27
#8E57FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8E57FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E57FC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57FC#FFFFFF#000000##000000
##8E57FC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#6F7FA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e57fc;
/* rgb */ color: rgb(142, 87, 252);
/* oklch */ color: oklch(60.6% 0.232 293.6);
Tailwind
colors: {
  custom: {
    50: '#b78afe',
    500: '#8e57fc',
    950: '#000000',
  },
}
SCSS
$custom: #8e57fc;
$custom-light: #b78afe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57fc",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 252
  },
  "hsl": {
    "h": 260,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60601,
    "c": 0.23212,
    "h": 293.6
  },
  "luminance": 0.19595
}

Semantic roles & 50–950 ramp

primary
#8E57FC
secondary
#E0F2BD
accent
#E60099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8E57FC

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

Preview Lab → · Contrast checker → · Palette generator →

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