#9C64DC#9C64DC

#9C64DC is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.179 H 303.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9C64DC
RGBrgb(156, 100, 220)
HSLhsl(268, 63%, 63%)
HSVhsv(268, 55%, 86%)
CMYKcmyk(29.1%, 54.5%, 0%, 13.7%)
CIE-LABlab(53.33, 46.01, -53.22)
CIE-LCHlch(53.33, 70.36, 310.84°)
OKLaboklab(61.7% 0.0978 -0.1501)
OKLCHoklch(61.7% 0.179 303.1)
XYZxyz(31.1828, 21.3496, 70.1744)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64DC #A4DC64
analogous
#6468DC #9C64DC #D864DC
triadic
#9C64DC #DC9C64 #64DC9C
tetradic
#9C64DC #DC6468 #A4DC64 #64DCD8
square
#9C64DC #DC6468 #A4DC64 #64DCD8
split-complementary
#9C64DC #DCD864 #68DC64
monochromatic
#5F24A1 #7C32D1 #9C64DC #BC96E7 #DCC8F3

Accessibility & contrast

On white

3.98
#9C64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9C64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64DC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64DC#FFFFFF#000000##000000
##9C64DC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#4A7FD9
Tritanopia (blue-blind)
#907B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c64dc;
/* rgb */ color: rgb(156, 100, 220);
/* oklch */ color: oklch(61.7% 0.179 303.1);
Tailwind
colors: {
  custom: {
    50: '#bc92e7',
    500: '#9c64dc',
    950: '#000000',
  },
}
SCSS
$custom: #9c64dc;
$custom-light: #bc92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64dc",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 268,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61701,
    "c": 0.17915,
    "h": 303.1
  },
  "luminance": 0.2135
}

Semantic roles & 50–950 ramp

primary
#9C64DC
secondary
#CFE4B8
accent
#CB1B79
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9C64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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