#9C57CB#9C57CB

#9C57CB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.179 H 309.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9C57CB
RGBrgb(156, 87, 203)
HSLhsl(276, 53%, 57%)
HSVhsv(276, 57%, 80%)
CMYKcmyk(23.2%, 57.1%, 0%, 20.4%)
CIE-LABlab(49.73, 48.94, -49.29)
CIE-LCHlch(49.73, 69.46, 314.80°)
OKLaboklab(58.75% 0.1138 -0.1386)
OKLCHoklch(58.75% 0.179 309.4)
XYZxyz(27.8959, 18.1966, 58.5311)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57CB #86CB57
analogous
#6257CB #9C57CB #CB57C0
triadic
#9C57CB #CB9C57 #57CB9C
tetradic
#9C57CB #CB6257 #86CB57 #57C0CB
square
#9C57CB #CB6257 #86CB57 #57C0CB
split-complementary
#9C57CB #C0CB57 #57CB62
monochromatic
#5C2880 #7E36AF #9C57CB #B886D9 #D3B4E8

Accessibility & contrast

On white

4.53
#9C57CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9C57CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C57CB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57CB#FFFFFF#000000##000000
##9C57CB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#966C89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9c57cb;
/* rgb */ color: rgb(156, 87, 203);
/* oklch */ color: oklch(58.7% 0.179 309.4);
Tailwind
colors: {
  custom: {
    50: '#bc89db',
    500: '#9c57cb',
    950: '#000000',
  },
}
SCSS
$custom: #9c57cb;
$custom-light: #bc89db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57cb",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 275.69,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.17932,
    "h": 309.4
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

primary
#9C57CB
secondary
#BAD7A7
accent
#DC4C86
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9C57CB

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

Preview Lab → · Contrast checker → · Palette generator →

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