#8E57BB#8E57BB

#8E57BB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.156 H 307.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8E57BB
RGBrgb(142, 87, 187)
HSLhsl(273, 42%, 54%)
HSVhsv(273, 53%, 73%)
CMYKcmyk(24.1%, 53.5%, 0%, 26.7%)
CIE-LABlab(47.18, 41.64, -44.22)
CIE-LCHlch(47.18, 60.74, 313.28°)
OKLaboklab(56.21% 0.0953 -0.1241)
OKLCHoklch(56.21% 0.156 307.5)
XYZxyz(23.5314, 16.1553, 48.8827)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57BB #84BB57
analogous
#5C57BB #8E57BB #BB57B6
triadic
#8E57BB #BB8E57 #57BB8E
tetradic
#8E57BB #BB5C57 #84BB57 #57B6BB
square
#8E57BB #BB5C57 #84BB57 #57B6BB
split-complementary
#8E57BB #B6BB57 #57BB5C
monochromatic
#4F2C6C #6F3D97 #8E57BB #AB83CD #C9AEDE

Accessibility & contrast

On white

4.96
#8E57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8E57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E57BB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57BB#FFFFFF#000000##FFFFFF
##8E57BB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#4A70B9
Tritanopia (blue-blind)
#876981
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e57bb;
/* rgb */ color: rgb(142, 87, 187);
/* oklch */ color: oklch(56.2% 0.156 307.5);
Tailwind
colors: {
  custom: {
    50: '#b288d0',
    500: '#8e57bb',
    950: '#000000',
  },
}
SCSS
$custom: #8e57bb;
$custom-light: #b288d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57bb",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 273,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.15649,
    "h": 307.5
  },
  "luminance": 0.16155
}

Semantic roles & 50–950 ramp

primary
#8E57BB
secondary
#B5CCA2
accent
#D2568E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8E57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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