#9C64DB#9C64DB

#9C64DB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.178 H 303.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9C64DB
RGBrgb(156, 100, 219)
HSLhsl(268, 62%, 63%)
HSVhsv(268, 54%, 86%)
CMYKcmyk(28.8%, 54.3%, 0%, 14.1%)
CIE-LABlab(53.27, 45.77, -52.75)
CIE-LCHlch(53.27, 69.84, 310.95°)
OKLaboklab(61.64% 0.0977 -0.1487)
OKLCHoklch(61.64% 0.178 303.3)
XYZxyz(31.0508, 21.2968, 69.4790)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64DB #A3DB64
analogous
#6468DB #9C64DB #D764DB
triadic
#9C64DB #DB9C64 #64DB9C
tetradic
#9C64DB #DB6468 #A3DB64 #64DBD7
square
#9C64DB #DB6468 #A3DB64 #64DBD7
split-complementary
#9C64DB #DBD764 #68DB64
monochromatic
#5F25A0 #7C32CF #9C64DB #BC96E7 #DBC7F2

Accessibility & contrast

On white

3.99
#9C64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9C64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64DB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64DB#FFFFFF#000000##000000
##9C64DB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#907B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c64db;
/* rgb */ color: rgb(156, 100, 219);
/* oklch */ color: oklch(61.6% 0.178 303.3);
Tailwind
colors: {
  custom: {
    50: '#bc92e7',
    500: '#9c64db',
    950: '#000000',
  },
}
SCSS
$custom: #9c64db;
$custom-light: #bc92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64db",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 268.235,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.17796,
    "h": 303.3
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#9C64DB
secondary
#CFE3B8
accent
#CA1B78
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9C64DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9C64DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva