#8E57DF#8E57DF

#8E57DF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.199 H 298.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8E57DF
RGBrgb(142, 87, 223)
HSLhsl(264, 68%, 61%)
HSVhsv(264, 61%, 87%)
CMYKcmyk(36.3%, 61%, 0%, 12.5%)
CIE-LABlab(49.37, 50.46, -61.36)
CIE-LCHlch(49.37, 79.44, 309.43°)
OKLaboklab(58.51% 0.0955 -0.1744)
OKLCHoklch(58.51% 0.199 298.7)
XYZxyz(27.8795, 17.8946, 71.7829)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57DF #A8DF57
analogous
#5764DF #8E57DF #D257DF
triadic
#8E57DF #DF8E57 #57DF8E
tetradic
#8E57DF #DF5764 #A8DF57 #57DFD2
square
#8E57DF #DF5764 #A8DF57 #57DFD2
split-complementary
#8E57DF #DFD257 #64DF57
monochromatic
#521E9E #6C28D1 #8E57DF #B18AE9 #D3BEF3

Accessibility & contrast

On white

4.59
#8E57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8E57DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E57DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57DF#FFFFFF#000000##FFFFFF
##8E57DF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#7C7593
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e57df;
/* rgb */ color: rgb(142, 87, 223);
/* oklch */ color: oklch(58.5% 0.199 298.7);
Tailwind
colors: {
  custom: {
    50: '#b489ea',
    500: '#8e57df',
    950: '#000000',
  },
}
SCSS
$custom: #8e57df;
$custom-light: #b489ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57df",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 264.265,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58515,
    "c": 0.19886,
    "h": 298.7
  },
  "luminance": 0.17895
}

Semantic roles & 50–950 ramp

primary
#8E57DF
secondary
#CEE3AF
accent
#D01685
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8E57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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