#9556DC#9556DC

#9556DC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.9% C 0.198 H 302.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9556DC
RGBrgb(149, 86, 220)
HSLhsl(268, 66%, 60%)
HSVhsv(268, 61%, 86%)
CMYKcmyk(32.3%, 60.9%, 0%, 13.7%)
CIE-LABlab(49.75, 51.78, -59.00)
CIE-LCHlch(49.75, 78.50, 311.27°)
OKLaboklab(58.91% 0.106 -0.1673)
OKLCHoklch(58.91% 0.198 302.4)
XYZxyz(28.6375, 18.2124, 69.7029)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9556DC #9DDC56
analogous
#565ADC #9556DC #D856DC
triadic
#9556DC #DC9556 #56DC95
tetradic
#9556DC #DC565A #9DDC56 #56DCD8
square
#9556DC #DC565A #9DDC56 #56DCD8
split-complementary
#9556DC #DCD856 #5ADC56
monochromatic
#582098 #762ACB #9556DC #B589E6 #D5BBF1

Accessibility & contrast

On white

4.52
#9556DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9556DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9556DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9556DC#FFFFFF#000000##000000
##9556DC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#877291
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9556dc;
/* rgb */ color: rgb(149, 86, 220);
/* oklch */ color: oklch(58.9% 0.198 302.4);
Tailwind
colors: {
  custom: {
    50: '#b889e8',
    500: '#9556dc',
    950: '#000000',
  },
}
SCSS
$custom: #9556dc;
$custom-light: #b889e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9556dc",
  "rgb": {
    "r": 149,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 268.209,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58908,
    "c": 0.19799,
    "h": 302.4
  },
  "luminance": 0.18212
}

Semantic roles & 50–950 ramp

primary
#9556DC
secondary
#C8E1AD
accent
#E93F99
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9556DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9556DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva