#9C57BB#9C57BB

#9C57BB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.8% C 0.162 H 314.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9C57BB
RGBrgb(156, 87, 187)
HSLhsl(281, 42%, 54%)
HSVhsv(281, 53%, 73%)
CMYKcmyk(16.6%, 53.5%, 0%, 26.7%)
CIE-LABlab(48.85, 45.41, -41.46)
CIE-LCHlch(48.85, 61.49, 317.60°)
OKLaboklab(57.81% 0.1129 -0.1157)
OKLCHoklch(57.81% 0.162 314.3)
XYZxyz(26.0867, 17.4729, 49.0025)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C57BB #76BB57
analogous
#6A57BB #9C57BB #BB57A8
triadic
#9C57BB #BB9C57 #57BB9C
tetradic
#9C57BB #BB6A57 #76BB57 #57A8BB
square
#9C57BB #BB6A57 #76BB57 #57A8BB
split-complementary
#9C57BB #A8BB57 #57BB6A
monochromatic
#582C6C #7C3D97 #9C57BB #B683CD #CFAEDE

Accessibility & contrast

On white

4.67
#9C57BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9C57BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C57BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C57BB#FFFFFF#000000##FFFFFF
##9C57BB1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F70BE
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#9A6781
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c57bb;
/* rgb */ color: rgb(156, 87, 187);
/* oklch */ color: oklch(57.8% 0.162 314.3);
Tailwind
colors: {
  custom: {
    50: '#bb89d0',
    500: '#9c57bb',
    950: '#000000',
  },
}
SCSS
$custom: #9c57bb;
$custom-light: #bb89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c57bb",
  "rgb": {
    "r": 156,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 281.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5781,
    "c": 0.16168,
    "h": 314.3
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#9C57BB
secondary
#AFCCA2
accent
#D2567C
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9C57BB

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

Preview Lab → · Contrast checker → · Palette generator →

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