#9C57DC#9C57DC

#9C57DC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.8% C 0.198 H 305.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9C57DC
RGBrgb(156, 87, 220)
HSLhsl(271, 66%, 60%)
HSVhsv(271, 60%, 86%)
CMYKcmyk(29.1%, 60.5%, 0%, 13.7%)
CIE-LABlab(50.75, 52.85, -57.36)
CIE-LCHlch(50.75, 78.00, 312.66°)
OKLaboklab(59.81% 0.1138 -0.1622)
OKLCHoklch(59.81% 0.198 305.1)
XYZxyz(30.0339, 19.0518, 69.7914)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57DC #97DC57
analogous
#5A57DC #9C57DC #DC57D9
triadic
#9C57DC #DC9C57 #57DC9C
tetradic
#9C57DC #DC5A57 #97DC57 #57D9DC
square
#9C57DC #DC5A57 #97DC57 #57D9DC
split-complementary
#9C57DC #D9DC57 #57DC5A
monochromatic
#5F2099 #7E2ACB #9C57DC #BA8AE7 #D8BCF1

Accessibility & contrast

On white

4.37
#9C57DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9C57DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57DC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57DC#FFFFFF#000000##000000
##9C57DC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E77E0
Deuteranopia (green-blind)
#3979D9
Tritanopia (blue-blind)
#917291
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9c57dc;
/* rgb */ color: rgb(156, 87, 220);
/* oklch */ color: oklch(59.8% 0.198 305.1);
Tailwind
colors: {
  custom: {
    50: '#bd8ae8',
    500: '#9c57dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c57dc;
$custom-light: #bd8ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57dc",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 271.128,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5981,
    "c": 0.19816,
    "h": 305.1
  },
  "luminance": 0.19052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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