#8E57DB#8E57DB

#8E57DB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.2% C 0.194 H 299.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8E57DB
RGBrgb(142, 87, 219)
HSLhsl(265, 65%, 60%)
HSVhsv(265, 60%, 86%)
CMYKcmyk(35.2%, 60.3%, 0%, 14.1%)
CIE-LABlab(49.11, 49.45, -59.51)
CIE-LCHlch(49.11, 77.38, 309.72°)
OKLaboklab(58.24% 0.0957 -0.169)
OKLCHoklch(58.24% 0.194 299.5)
XYZxyz(27.3466, 17.6814, 68.9762)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E57DB #A4DB57
analogous
#5762DB #8E57DB #D057DB
triadic
#8E57DB #DB8E57 #57DB8E
tetradic
#8E57DB #DB5762 #A4DB57 #57DBD0
square
#8E57DB #DB5762 #A4DB57 #57DBD0
split-complementary
#8E57DB #DBD057 #62DB57
monochromatic
#522097 #6D2BCA #8E57DB #B089E6 #D2BCF1

Accessibility & contrast

On white

4.63
#8E57DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8E57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8E57DB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E57DB#FFFFFF#000000##FFFFFF
##8E57DB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2774D8
Tritanopia (blue-blind)
#7D7391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8e57db;
/* rgb */ color: rgb(142, 87, 219);
/* oklch */ color: oklch(58.2% 0.194 299.5);
Tailwind
colors: {
  custom: {
    50: '#b489e7',
    500: '#8e57db',
    950: '#000000',
  },
}
SCSS
$custom: #8e57db;
$custom-light: #b489e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e57db",
  "rgb": {
    "r": 142,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 265,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.58243,
    "c": 0.19421,
    "h": 299.5
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#8E57DB
secondary
#CBE0AD
accent
#E840A2
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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