#9560D8#9560D8

#9560D8 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.179 H 301.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9560D8
RGBrgb(149, 96, 216)
HSLhsl(267, 61%, 61%)
HSVhsv(267, 56%, 85%)
CMYKcmyk(31%, 55.6%, 0%, 15.3%)
CIE-LABlab(51.51, 45.49, -53.91)
CIE-LCHlch(51.51, 70.54, 310.16°)
OKLaboklab(60.11% 0.0938 -0.1523)
OKLCHoklch(60.11% 0.179 301.6)
XYZxyz(28.9691, 19.7131, 67.2313)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9560D8 #A3D860
analogous
#6067D8 #9560D8 #D160D8
triadic
#9560D8 #D89560 #60D895
tetradic
#9560D8 #D86067 #A3D860 #60D8D1
square
#9560D8 #D86067 #A3D860 #60D8D1
split-complementary
#9560D8 #D8D160 #67D860
monochromatic
#582598 #7531C9 #9560D8 #B691E4 #D7C2F0

Accessibility & contrast

On white

4.25
#9560D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9560D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9560D8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9560D8#FFFFFF#000000##000000
##9560D81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADC
Deuteranopia (green-blind)
#427AD5
Tritanopia (blue-blind)
#887893
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9560d8;
/* rgb */ color: rgb(149, 96, 216);
/* oklch */ color: oklch(60.1% 0.179 301.6);
Tailwind
colors: {
  custom: {
    50: '#b88fe5',
    500: '#9560d8',
    950: '#000000',
  },
}
SCSS
$custom: #9560d8;
$custom-light: #b88fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9560d8",
  "rgb": {
    "r": 149,
    "g": 96,
    "b": 216
  },
  "hsl": {
    "h": 266.5,
    "s": 60.606,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.1789,
    "h": 301.6
  },
  "luminance": 0.19713
}

Semantic roles & 50–950 ramp

primary
#9560D8
secondary
#CDE0B3
accent
#C81D7D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9560D8

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

Preview Lab → · Contrast checker → · Palette generator →

#9560D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva