#9564CB#9564CB

#9564CB is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.0% C 0.157 H 304.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9564CB
RGBrgb(149, 100, 203)
HSLhsl(269, 50%, 59%)
HSVhsv(269, 51%, 80%)
CMYKcmyk(26.6%, 50.7%, 0%, 20.4%)
CIE-LABlab(51.63, 40.11, -46.32)
CIE-LCHlch(51.63, 61.27, 310.90°)
OKLaboklab(59.96% 0.0879 -0.1301)
OKLCHoklch(59.96% 0.157 304)
XYZxyz(27.7287, 19.8158, 58.8524)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9564CB #9ACB64
analogous
#6467CB #9564CB #C964CB
triadic
#9564CB #CB9564 #64CB95
tetradic
#9564CB #CB6467 #9ACB64 #64CBC9
square
#9564CB #CB6467 #9ACB64 #64CBC9
split-complementary
#9564CB #CBC964 #67CB64
monochromatic
#582D87 #763DB5 #9564CB #B492DA #D4C0EA

Accessibility & contrast

On white

4.23
#9564CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9564CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9564CB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9564CB#FFFFFF#000000##000000
##9564CB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#8C778E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9564cb;
/* rgb */ color: rgb(149, 100, 203);
/* oklch */ color: oklch(60.0% 0.157 304.0);
Tailwind
colors: {
  custom: {
    50: '#b791db',
    500: '#9564cb',
    950: '#000000',
  },
}
SCSS
$custom: #9564cb;
$custom-light: #b791db;
$custom-dark: #000000;
JSON
{
  "hex": "#9564cb",
  "rgb": {
    "r": 149,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 268.544,
    "s": 49.758,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59964,
    "c": 0.157,
    "h": 304
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#9564CB
secondary
#C6D9B1
accent
#D94F97
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #9564CB

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

Preview Lab → · Contrast checker → · Palette generator →

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