#8E57F6#8E57F6

#8E57F6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.2% C 0.225 H 294.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8E57F6
RGBrgb(142, 87, 246)
HSLhsl(261, 90%, 65%)
HSVhsv(261, 65%, 96%)
CMYKcmyk(42.3%, 64.6%, 0%, 3.5%)
CIE-LABlab(50.94, 56.34, -71.74)
CIE-LCHlch(50.94, 91.22, 308.14°)
OKLaboklab(60.16% 0.0936 -0.2049)
OKLCHoklch(60.16% 0.225 294.6)
XYZxyz(31.1936, 19.2202, 89.2373)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57F6 #BFF657
analogous
#576FF6 #8E57F6 #DE57F6
triadic
#8E57F6 #F68E57 #57F68E
tetradic
#8E57F6 #F6576F #BFF657 #57F6DE
square
#8E57F6 #F6576F #BFF657 #57F6DE
split-complementary
#8E57F6 #F6DE57 #6FF657
monochromatic
#4C0BC8 #671DF3 #8E57F6 #B591F9 #DCCBFC

Accessibility & contrast

On white

4.34
#8E57F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8E57F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E57F6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57F6#FFFFFF#000000##000000
##8E57F61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#727D9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e57f6;
/* rgb */ color: rgb(142, 87, 246);
/* oklch */ color: oklch(60.2% 0.225 294.6);
Tailwind
colors: {
  custom: {
    50: '#b689fa',
    500: '#8e57f6',
    950: '#000000',
  },
}
SCSS
$custom: #8e57f6;
$custom-light: #b689fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57f6",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 246
  },
  "hsl": {
    "h": 260.755,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60155,
    "c": 0.22532,
    "h": 294.6
  },
  "luminance": 0.19221
}

Semantic roles & 50–950 ramp

primary
#8E57F6
secondary
#DDEFBA
accent
#E60096
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8E57F6

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

Preview Lab → · Contrast checker → · Palette generator →

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