#9E57DC#9E57DC

#9E57DC is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.0% C 0.199 H 305.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9E57DC
RGBrgb(158, 87, 220)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(28.2%, 60.5%, 0%, 13.7%)
CIE-LABlab(50.98, 53.31, -56.97)
CIE-LCHlch(50.98, 78.03, 313.10°)
OKLaboklab(60.03% 0.1164 -0.161)
OKLCHoklch(60.03% 0.199 305.9)
XYZxyz(30.4242, 19.2530, 69.8097)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57DC #95DC57
analogous
#5B57DC #9E57DC #DC57D7
triadic
#9E57DC #DC9E57 #57DC9E
tetradic
#9E57DC #DC5B57 #95DC57 #57D7DC
square
#9E57DC #DC5B57 #95DC57 #57D7DC
split-complementary
#9E57DC #D7DC57 #57DC5B
monochromatic
#602099 #802ACB #9E57DC #BB8AE7 #D8BCF1

Accessibility & contrast

On white

4.33
#9E57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#9E57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57DC#FFFFFF#000000##000000
##9E57DC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177E0
Deuteranopia (green-blind)
#3C7AD9
Tritanopia (blue-blind)
#947291
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9e57dc;
/* rgb */ color: rgb(158, 87, 220);
/* oklch */ color: oklch(60.0% 0.199 305.9);
Tailwind
colors: {
  custom: {
    50: '#be8ae8',
    500: '#9e57dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e57dc;
$custom-light: #be8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57dc",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 272.03,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.19867,
    "h": 305.9
  },
  "luminance": 0.19253
}

Semantic roles & 50–950 ramp

primary
#9E57DC
secondary
#C6E1AE
accent
#CD186D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E57DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9E57DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva