#9564D8#9564D8

#9564D8 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.173 H 300.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9564D8
RGBrgb(149, 100, 216)
HSLhsl(265, 60%, 62%)
HSVhsv(265, 54%, 85%)
CMYKcmyk(31%, 53.7%, 0%, 15.3%)
CIE-LABlab(52.36, 43.30, -52.56)
CIE-LCHlch(52.36, 68.10, 309.48°)
OKLaboklab(60.74% 0.0887 -0.1484)
OKLCHoklch(60.74% 0.173 300.9)
XYZxyz(29.3434, 20.4616, 67.3560)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9564D8 #A7D864
analogous
#646DD8 #9564D8 #CF64D8
triadic
#9564D8 #D89564 #64D895
tetradic
#9564D8 #D8646D #A7D864 #64D8CF
square
#9564D8 #D8646D #A7D864 #64D8CF
split-complementary
#9564D8 #D8CF64 #6DD864
monochromatic
#58279B #7433CC #9564D8 #B695E4 #D8C6F1

Accessibility & contrast

On white

4.12
#9564D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9564D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9564D8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9564D8#FFFFFF#000000##000000
##9564D81.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#387CDC
Deuteranopia (green-blind)
#477CD5
Tritanopia (blue-blind)
#887B94
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9564d8;
/* rgb */ color: rgb(149, 100, 216);
/* oklch */ color: oklch(60.7% 0.173 300.9);
Tailwind
colors: {
  custom: {
    50: '#b792e5',
    500: '#9564d8',
    950: '#000000',
  },
}
SCSS
$custom: #9564d8;
$custom-light: #b792e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9564d8",
  "rgb": {
    "r": 149,
    "g": 100,
    "b": 216
  },
  "hsl": {
    "h": 265.345,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.17289,
    "h": 300.9
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

primary
#9564D8
secondary
#CFE1B7
accent
#C71E80
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9564D8

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

Preview Lab → · Contrast checker → · Palette generator →

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