#9E57DD#9E57DD

#9E57DD is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.1% C 0.200 H 305.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9E57DD
RGBrgb(158, 87, 221)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 61%, 87%)
CMYKcmyk(28.5%, 60.6%, 0%, 13.3%)
CIE-LABlab(51.04, 53.55, -57.44)
CIE-LCHlch(51.04, 78.53, 312.99°)
OKLaboklab(60.1% 0.1163 -0.1624)
OKLCHoklch(60.1% 0.2 305.6)
XYZxyz(30.5571, 19.3062, 70.5093)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E57DD #96DD57
analogous
#5B57DD #9E57DD #DD57D9
triadic
#9E57DD #DD9E57 #57DD9E
tetradic
#9E57DD #DD5B57 #96DD57 #57D9DD
square
#9E57DD #DD5B57 #96DD57 #57D9DD
split-complementary
#9E57DD #D9DD57 #57DD5B
monochromatic
#601F9A #802ACD #9E57DD #BB8AE7 #D9BDF2

Accessibility & contrast

On white

4.32
#9E57DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#9E57DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E57DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E57DD#FFFFFF#000000##000000
##9E57DD1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E77E1
Deuteranopia (green-blind)
#3A7ADA
Tritanopia (blue-blind)
#937292
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e57dd;
/* rgb */ color: rgb(158, 87, 221);
/* oklch */ color: oklch(60.1% 0.200 305.6);
Tailwind
colors: {
  custom: {
    50: '#bf8ae8',
    500: '#9e57dd',
    950: '#000000',
  },
}
SCSS
$custom: #9e57dd;
$custom-light: #bf8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e57dd",
  "rgb": {
    "r": 158,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 271.791,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60097,
    "c": 0.19976,
    "h": 305.6
  },
  "luminance": 0.19306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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