#9956BC#9956BC

#9956BC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.163 H 312.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9956BC
RGBrgb(153, 86, 188)
HSLhsl(279, 43%, 54%)
HSVhsv(279, 54%, 74%)
CMYKcmyk(18.6%, 54.3%, 0%, 26.3%)
CIE-LABlab(48.33, 45.35, -42.88)
CIE-LCHlch(48.33, 62.41, 316.60°)
OKLaboklab(57.37% 0.1106 -0.1199)
OKLCHoklch(57.37% 0.163 312.7)
XYZxyz(25.5402, 17.0593, 49.5146)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9956BC #79BC56
analogous
#6656BC #9956BC #BC56AC
triadic
#9956BC #BC9956 #56BC99
tetradic
#9956BC #BC6656 #79BC56 #56ACBC
square
#9956BC #BC6656 #79BC56 #56ACBC
split-complementary
#9956BC #ACBC56 #56BC66
monochromatic
#562B6D #793C98 #9956BC #B382CD #CEAEDF

Accessibility & contrast

On white

4.76
#9956BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9956BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9956BC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9956BC#FFFFFF#000000##FFFFFF
##9956BC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#966781
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9956bc;
/* rgb */ color: rgb(153, 86, 188);
/* oklch */ color: oklch(57.4% 0.163 312.7);
Tailwind
colors: {
  custom: {
    50: '#b988d0',
    500: '#9956bc',
    950: '#000000',
  },
}
SCSS
$custom: #9956bc;
$custom-light: #b988d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9956bc",
  "rgb": {
    "r": 153,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 279.412,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57367,
    "c": 0.16315,
    "h": 312.7
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#9956BC
secondary
#B0CDA1
accent
#D35580
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9956BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9956BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva