#9D64DC#9D64DC

#9D64DC is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.179 H 303.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9D64DC
RGBrgb(157, 100, 220)
HSLhsl(269, 63%, 63%)
HSVhsv(269, 55%, 86%)
CMYKcmyk(28.6%, 54.5%, 0%, 13.7%)
CIE-LABlab(53.44, 46.26, -53.04)
CIE-LCHlch(53.44, 70.38, 311.09°)
OKLaboklab(61.81% 0.099 -0.1496)
OKLCHoklch(61.81% 0.179 303.5)
XYZxyz(31.3772, 21.4498, 70.1835)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64DC #A3DC64
analogous
#6467DC #9D64DC #D964DC
triadic
#9D64DC #DC9D64 #64DC9D
tetradic
#9D64DC #DC6467 #A3DC64 #64DCD9
square
#9D64DC #DC6467 #A3DC64 #64DCD9
split-complementary
#9D64DC #DCD964 #67DC64
monochromatic
#6024A1 #7D32D1 #9D64DC #BD96E7 #DCC8F3

Accessibility & contrast

On white

3.97
#9D64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9D64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64DC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64DC#FFFFFF#000000##000000
##9D64DC1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#4B80D9
Tritanopia (blue-blind)
#927B96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d64dc;
/* rgb */ color: rgb(157, 100, 220);
/* oklch */ color: oklch(61.8% 0.179 303.5);
Tailwind
colors: {
  custom: {
    50: '#bd92e7',
    500: '#9d64dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d64dc;
$custom-light: #bd92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64dc",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 268.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.17937,
    "h": 303.5
  },
  "luminance": 0.2145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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