#9C64DA#9C64DA

#9C64DA is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.177 H 303.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9C64DA
RGBrgb(156, 100, 218)
HSLhsl(268, 61%, 62%)
HSVhsv(268, 54%, 85%)
CMYKcmyk(28.4%, 54.1%, 0%, 14.5%)
CIE-LABlab(53.22, 45.53, -52.27)
CIE-LCHlch(53.22, 69.32, 311.06°)
OKLaboklab(61.58% 0.0977 -0.1473)
OKLCHoklch(61.58% 0.177 303.5)
XYZxyz(30.9196, 21.2443, 68.7877)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64DA #A2DA64
analogous
#6467DA #9C64DA #D764DA
triadic
#9C64DA #DA9C64 #64DA9C
tetradic
#9C64DA #DA6467 #A2DA64 #64DAD7
square
#9C64DA #DA6467 #A2DA64 #64DAD7
split-complementary
#9C64DA #DAD764 #67DA64
monochromatic
#5F269E #7C33CE #9C64DA #BC95E6 #DBC7F2

Accessibility & contrast

On white

4.00
#9C64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9C64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64DA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64DA#FFFFFF#000000##000000
##9C64DA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#917A95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c64da;
/* rgb */ color: rgb(156, 100, 218);
/* oklch */ color: oklch(61.6% 0.177 303.5);
Tailwind
colors: {
  custom: {
    50: '#bc92e6',
    500: '#9c64da',
    950: '#000000',
  },
}
SCSS
$custom: #9c64da;
$custom-light: #bc92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64da",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 268.475,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6158,
    "c": 0.17678,
    "h": 303.5
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#9C64DA
secondary
#CEE2B7
accent
#C91C77
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9C64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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