#9D57DD#9D57DD

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

Color values

HEX#9D57DD
RGBrgb(157, 87, 221)
HSLhsl(271, 66%, 60%)
HSVhsv(271, 61%, 87%)
CMYKcmyk(29%, 60.6%, 0%, 13.3%)
CIE-LABlab(50.93, 53.32, -57.63)
CIE-LCHlch(50.93, 78.51, 312.77°)
OKLaboklab(59.99% 0.1151 -0.163)
OKLCHoklch(59.99% 0.2 305.2)
XYZxyz(30.3611, 19.2051, 70.5001)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D57DD #97DD57
analogous
#5A57DD #9D57DD #DD57DA
triadic
#9D57DD #DD9D57 #57DD9D
tetradic
#9D57DD #DD5A57 #97DD57 #57DADD
square
#9D57DD #DD5A57 #97DD57 #57DADD
split-complementary
#9D57DD #DADD57 #57DD5A
monochromatic
#601F9A #7F2ACD #9D57DD #BB8AE7 #D8BDF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D57DD#FFFFFF#000000##000000
##9D57DD1.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)
#0C77E1
Deuteranopia (green-blind)
#3979DA
Tritanopia (blue-blind)
#927292
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9d57dd;
/* rgb */ color: rgb(157, 87, 221);
/* oklch */ color: oklch(60.0% 0.200 305.2);
Tailwind
colors: {
  custom: {
    50: '#be8ae8',
    500: '#9d57dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d57dd;
$custom-light: #be8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d57dd",
  "rgb": {
    "r": 157,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 271.343,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59986,
    "c": 0.19952,
    "h": 305.2
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

primary
#9D57DD
secondary
#C7E1AE
accent
#CE176F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9D57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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