#8E57BF#8E57BF

#8E57BF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.161 H 306.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E57BF
RGBrgb(142, 87, 191)
HSLhsl(272, 45%, 55%)
HSVhsv(272, 54%, 75%)
CMYKcmyk(25.7%, 54.5%, 0%, 25.1%)
CIE-LABlab(47.40, 42.59, -46.18)
CIE-LCHlch(47.40, 62.82, 312.68°)
OKLaboklab(56.45% 0.0955 -0.1299)
OKLCHoklch(56.45% 0.161 306.3)
XYZxyz(23.9655, 16.3290, 51.1694)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57BF #88BF57
analogous
#5A57BF #8E57BF #BF57BC
triadic
#8E57BF #BF8E57 #57BF8E
tetradic
#8E57BF #BF5A57 #88BF57 #57BCBF
square
#8E57BF #BF5A57 #88BF57 #57BCBF
split-complementary
#8E57BF #BCBF57 #57BF5A
monochromatic
#502B71 #6F3C9D #8E57BF #AC83D0 #CAB0E1

Accessibility & contrast

On white

4.92
#8E57BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8E57BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E57BF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57BF#FFFFFF#000000##FFFFFF
##8E57BF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346FC2
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#866A83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e57bf;
/* rgb */ color: rgb(142, 87, 191);
/* oklch */ color: oklch(56.4% 0.161 306.3);
Tailwind
colors: {
  custom: {
    50: '#b288d3',
    500: '#8e57bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e57bf;
$custom-light: #b288d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57bf",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 271.731,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.16123,
    "h": 306.3
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#8E57BF
secondary
#B8CFA3
accent
#D55390
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8E57BF

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

Preview Lab → · Contrast checker → · Palette generator →

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