#9564CC#9564CC

#9564CC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.0% C 0.158 H 303.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9564CC
RGBrgb(149, 100, 204)
HSLhsl(268, 50%, 60%)
HSVhsv(268, 51%, 80%)
CMYKcmyk(27%, 51%, 0%, 20%)
CIE-LABlab(51.68, 40.36, -46.80)
CIE-LCHlch(51.68, 61.80, 310.77°)
OKLaboklab(60.02% 0.0879 -0.1315)
OKLCHoklch(60.02% 0.158 303.8)
XYZxyz(27.8483, 19.8636, 59.4820)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9564CC #9BCC64
analogous
#6467CC #9564CC #C964CC
triadic
#9564CC #CC9564 #64CC95
tetradic
#9564CC #CC6467 #9BCC64 #64CCC9
square
#9564CC #CC6467 #9BCC64 #64CCC9
split-complementary
#9564CC #CCC964 #67CC64
monochromatic
#582D89 #763CB7 #9564CC #B492DB #D4C0EA

Accessibility & contrast

On white

4.22
#9564CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9564CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9564CC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9564CC#FFFFFF#000000##000000
##9564CC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#517BC9
Tritanopia (blue-blind)
#8B778F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9564cc;
/* rgb */ color: rgb(149, 100, 204);
/* oklch */ color: oklch(60.0% 0.158 303.8);
Tailwind
colors: {
  custom: {
    50: '#b791dc',
    500: '#9564cc',
    950: '#000000',
  },
}
SCSS
$custom: #9564cc;
$custom-light: #b791dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9564cc",
  "rgb": {
    "r": 149,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 268.269,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.15822,
    "h": 303.8
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#9564CC
secondary
#C7DAB2
accent
#DA4E98
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9564CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9564CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva