#9E57DB#9E57DB

#9E57DB is a mid, vivid violet. Relative luminance 0.192; OKLCH L 60.0% C 0.198 H 306.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9E57DB
RGBrgb(158, 87, 219)
HSLhsl(272, 65%, 60%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(27.9%, 60.3%, 0%, 14.1%)
CIE-LABlab(50.92, 53.08, -56.50)
CIE-LCHlch(50.92, 77.53, 313.21°)
OKLaboklab(59.97% 0.1164 -0.1596)
OKLCHoklch(59.97% 0.198 306.1)
XYZxyz(30.2922, 19.2002, 69.1143)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57DB #94DB57
analogous
#5C57DB #9E57DB #DB57D6
triadic
#9E57DB #DB9E57 #57DB9E
tetradic
#9E57DB #DB5C57 #94DB57 #57D6DB
square
#9E57DB #DB5C57 #94DB57 #57D6DB
split-complementary
#9E57DB #D6DB57 #57DB5C
monochromatic
#602097 #802BCA #9E57DB #BB89E6 #D8BCF1

Accessibility & contrast

On white

4.34
#9E57DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9E57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57DB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57DB#FFFFFF#000000##000000
##9E57DB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1577DF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#947191
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9e57db;
/* rgb */ color: rgb(158, 87, 219);
/* oklch */ color: oklch(60.0% 0.198 306.1);
Tailwind
colors: {
  custom: {
    50: '#be8ae7',
    500: '#9e57db',
    950: '#000000',
  },
}
SCSS
$custom: #9e57db;
$custom-light: #be8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57db",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 272.273,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.59968,
    "c": 0.19757,
    "h": 306.1
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#9E57DB
secondary
#C5E0AD
accent
#E8408E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9E57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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