#9C56DB#9C56DB

#9C56DB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.6% C 0.198 H 305.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9C56DB
RGBrgb(156, 86, 219)
HSLhsl(272, 65%, 60%)
HSVhsv(272, 61%, 86%)
CMYKcmyk(28.8%, 60.7%, 0%, 14.1%)
CIE-LABlab(50.50, 53.13, -57.19)
CIE-LCHlch(50.50, 78.06, 312.89°)
OKLaboklab(59.61% 0.115 -0.1617)
OKLCHoklch(59.61% 0.198 305.4)
XYZxyz(29.8215, 18.8382, 69.0692)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C56DB #95DB56
analogous
#5A56DB #9C56DB #DB56D7
triadic
#9C56DB #DB9C56 #56DB9C
tetradic
#9C56DB #DB5A56 #95DB56 #56D7DB
square
#9C56DB #DB5A56 #95DB56 #56D7DB
split-complementary
#9C56DB #D7DB56 #56DB5A
monochromatic
#5E2097 #7E2BC9 #9C56DB #BA88E6 #D7BBF0

Accessibility & contrast

On white

4.40
#9C56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9C56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C56DB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C56DB#FFFFFF#000000##000000
##9C56DB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B76DF
Deuteranopia (green-blind)
#3978D8
Tritanopia (blue-blind)
#917191
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9c56db;
/* rgb */ color: rgb(156, 86, 219);
/* oklch */ color: oklch(59.6% 0.198 305.4);
Tailwind
colors: {
  custom: {
    50: '#bd89e7',
    500: '#9c56db',
    950: '#000000',
  },
}
SCSS
$custom: #9c56db;
$custom-light: #bd89e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c56db",
  "rgb": {
    "r": 156,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 271.579,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59608,
    "c": 0.19847,
    "h": 305.4
  },
  "luminance": 0.18838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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