#9C57DB#9C57DB

#9C57DB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.197 H 305.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9C57DB
RGBrgb(156, 87, 219)
HSLhsl(271, 65%, 60%)
HSVhsv(271, 60%, 86%)
CMYKcmyk(28.8%, 60.3%, 0%, 14.1%)
CIE-LABlab(50.69, 52.62, -56.89)
CIE-LCHlch(50.69, 77.50, 312.77°)
OKLaboklab(59.75% 0.1138 -0.1608)
OKLCHoklch(59.75% 0.197 305.3)
XYZxyz(29.9019, 18.9990, 69.0960)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57DB #96DB57
analogous
#5A57DB #9C57DB #DB57D8
triadic
#9C57DB #DB9C57 #57DB9C
tetradic
#9C57DB #DB5A57 #96DB57 #57D8DB
square
#9C57DB #DB5A57 #96DB57 #57D8DB
split-complementary
#9C57DB #D8DB57 #57DB5A
monochromatic
#5F2097 #7E2BCA #9C57DB #BA89E6 #D7BCF1

Accessibility & contrast

On white

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

On black

4.80
#9C57DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57DB#FFFFFF#000000##000000
##9C57DB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177DF
Deuteranopia (green-blind)
#3A79D8
Tritanopia (blue-blind)
#917291
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9c57db;
/* rgb */ color: rgb(156, 87, 219);
/* oklch */ color: oklch(59.7% 0.197 305.3);
Tailwind
colors: {
  custom: {
    50: '#bd8ae7',
    500: '#9c57db',
    950: '#000000',
  },
}
SCSS
$custom: #9c57db;
$custom-light: #bd8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57db",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 271.364,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.19706,
    "h": 305.3
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#9C57DB
secondary
#C6E0AD
accent
#E84090
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9C57DB

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

Preview Lab → · Contrast checker → · Palette generator →

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