#9C57DA#9C57DA

#9C57DA is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.7% C 0.196 H 305.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9C57DA
RGBrgb(156, 87, 218)
HSLhsl(272, 64%, 60%)
HSVhsv(272, 60%, 85%)
CMYKcmyk(28.4%, 60.1%, 0%, 14.5%)
CIE-LABlab(50.62, 52.39, -56.42)
CIE-LCHlch(50.62, 76.99, 312.88°)
OKLaboklab(59.68% 0.1139 -0.1595)
OKLCHoklch(59.68% 0.196 305.5)
XYZxyz(29.7707, 18.9465, 68.4047)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57DA #95DA57
analogous
#5B57DA #9C57DA #DA57D6
triadic
#9C57DA #DA9C57 #57DA9C
tetradic
#9C57DA #DA5B57 #95DA57 #57D6DA
square
#9C57DA #DA5B57 #95DA57 #57D6DA
split-complementary
#9C57DA #D6DA57 #57DA5B
monochromatic
#5E2196 #7E2CC8 #9C57DA #BA89E5 #D7BBF0

Accessibility & contrast

On white

4.38
#9C57DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9C57DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57DA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57DA#FFFFFF#000000##000000
##9C57DA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1576DE
Deuteranopia (green-blind)
#3B79D7
Tritanopia (blue-blind)
#917190
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c57da;
/* rgb */ color: rgb(156, 87, 218);
/* oklch */ color: oklch(59.7% 0.196 305.5);
Tailwind
colors: {
  custom: {
    50: '#bd8ae6',
    500: '#9c57da',
    950: '#000000',
  },
}
SCSS
$custom: #9c57da;
$custom-light: #bd8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57da",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 271.603,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.19595,
    "h": 305.5
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

primary
#9C57DA
secondary
#C5E0AD
accent
#E7418F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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