#9564CD#9564CD

#9564CD is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.159 H 303.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9564CD
RGBrgb(149, 100, 205)
HSLhsl(268, 51%, 60%)
HSVhsv(268, 51%, 80%)
CMYKcmyk(27.3%, 51.2%, 0%, 19.6%)
CIE-LABlab(51.74, 40.60, -47.29)
CIE-LCHlch(51.74, 62.32, 310.65°)
OKLaboklab(60.08% 0.088 -0.133)
OKLCHoklch(60.08% 0.159 303.5)
XYZxyz(27.9686, 19.9117, 60.1157)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9564CD #9CCD64
analogous
#6467CD #9564CD #CA64CD
triadic
#9564CD #CD9564 #64CD95
tetradic
#9564CD #CD6467 #9CCD64 #64CDCA
square
#9564CD #CD6467 #9CCD64 #64CDCA
split-complementary
#9564CD #CDCA64 #67CD64
monochromatic
#582D8A #763BB8 #9564CD #B592DC #D4C1EB

Accessibility & contrast

On white

4.21
#9564CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9564CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9564CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9564CD#FFFFFF#000000##000000
##9564CD1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427AD1
Deuteranopia (green-blind)
#507BCA
Tritanopia (blue-blind)
#8B778F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9564cd;
/* rgb */ color: rgb(149, 100, 205);
/* oklch */ color: oklch(60.1% 0.159 303.5);
Tailwind
colors: {
  custom: {
    50: '#b791dd',
    500: '#9564cd',
    950: '#000000',
  },
}
SCSS
$custom: #9564cd;
$custom-light: #b791dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9564cd",
  "rgb": {
    "r": 149,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 268,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.15945,
    "h": 303.5
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#9564CD
secondary
#C8DBB2
accent
#DB4D99
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9564CD

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

Preview Lab → · Contrast checker → · Palette generator →

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