#9D57DC#9D57DC

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

Color values

HEX#9D57DC
RGBrgb(157, 87, 220)
HSLhsl(272, 66%, 60%)
HSVhsv(272, 60%, 86%)
CMYKcmyk(28.6%, 60.5%, 0%, 13.7%)
CIE-LABlab(50.86, 53.08, -57.17)
CIE-LCHlch(50.86, 78.01, 312.88°)
OKLaboklab(59.92% 0.1151 -0.1616)
OKLCHoklch(59.92% 0.198 305.5)
XYZxyz(30.2283, 19.1520, 69.8005)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57DC #96DC57
analogous
#5B57DC #9D57DC #DC57D8
triadic
#9D57DC #DC9D57 #57DC9D
tetradic
#9D57DC #DC5B57 #96DC57 #57D8DC
square
#9D57DC #DC5B57 #96DC57 #57D8DC
split-complementary
#9D57DC #D8DC57 #57DC5B
monochromatic
#5F2099 #7F2ACB #9D57DC #BB8AE7 #D8BCF1

Accessibility & contrast

On white

4.35
#9D57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9D57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D57DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D57DC#FFFFFF#000000##000000
##9D57DC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1077E0
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#927291
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d57dc;
/* rgb */ color: rgb(157, 87, 220);
/* oklch */ color: oklch(59.9% 0.198 305.5);
Tailwind
colors: {
  custom: {
    50: '#be8ae8',
    500: '#9d57dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d57dc;
$custom-light: #be8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57dc",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 271.579,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59921,
    "c": 0.19841,
    "h": 305.5
  },
  "luminance": 0.19152
}

Semantic roles & 50–950 ramp

primary
#9D57DC
secondary
#C6E1AE
accent
#CD186E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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