#9D64DB#9D64DB

#9D64DB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.7% C 0.178 H 303.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9D64DB
RGBrgb(157, 100, 219)
HSLhsl(269, 62%, 63%)
HSVhsv(269, 54%, 86%)
CMYKcmyk(28.3%, 54.3%, 0%, 14.1%)
CIE-LABlab(53.38, 46.02, -52.57)
CIE-LCHlch(53.38, 69.87, 311.20°)
OKLaboklab(61.75% 0.099 -0.1482)
OKLCHoklch(61.75% 0.178 303.7)
XYZxyz(31.2452, 21.3970, 69.4881)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64DB #A2DB64
analogous
#6467DB #9D64DB #D864DB
triadic
#9D64DB #DB9D64 #64DB9D
tetradic
#9D64DB #DB6467 #A2DB64 #64DBD8
square
#9D64DB #DB6467 #A2DB64 #64DBD8
split-complementary
#9D64DB #DBD864 #67DB64
monochromatic
#6025A0 #7E32CF #9D64DB #BC96E7 #DCC7F2

Accessibility & contrast

On white

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

On black

5.28
#9D64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64DB
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64DB#FFFFFF#000000##000000
##9D64DB1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#4C7FD8
Tritanopia (blue-blind)
#927B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d64db;
/* rgb */ color: rgb(157, 100, 219);
/* oklch */ color: oklch(61.7% 0.178 303.7);
Tailwind
colors: {
  custom: {
    50: '#bd92e7',
    500: '#9d64db',
    950: '#000000',
  },
}
SCSS
$custom: #9d64db;
$custom-light: #bd92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64db",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 268.739,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.17819,
    "h": 303.7
  },
  "luminance": 0.21397
}

Semantic roles & 50–950 ramp

primary
#9D64DB
secondary
#CEE3B8
accent
#CA1B76
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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