#9D64D0#9D64D0

#9D64D0 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.165 H 306.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9D64D0
RGBrgb(157, 100, 208)
HSLhsl(272, 53%, 60%)
HSVhsv(272, 52%, 82%)
CMYKcmyk(24.5%, 51.9%, 0%, 18.4%)
CIE-LABlab(52.77, 43.42, -47.30)
CIE-LCHlch(52.77, 64.21, 312.55°)
OKLaboklab(61.1% 0.0983 -0.1328)
OKLCHoklch(61.1% 0.165 306.5)
XYZxyz(29.8446, 20.8368, 62.1119)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64D0 #97D064
analogous
#6764D0 #9D64D0 #D064CD
triadic
#9D64D0 #D09D64 #64D09D
tetradic
#9D64D0 #D06764 #97D064 #64CDD0
square
#9D64D0 #D06764 #97D064 #64CDD0
split-complementary
#9D64D0 #CDD064 #64D067
monochromatic
#602B8E #7F39BD #9D64D0 #BB93DE #D8C2EC

Accessibility & contrast

On white

4.06
#9D64D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9D64D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64D0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64D0#FFFFFF#000000##000000
##9D64D01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437CD4
Deuteranopia (green-blind)
#547ECD
Tritanopia (blue-blind)
#957791
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d64d0;
/* rgb */ color: rgb(157, 100, 208);
/* oklch */ color: oklch(61.1% 0.165 306.5);
Tailwind
colors: {
  custom: {
    50: '#bc92df',
    500: '#9d64d0',
    950: '#000000',
  },
}
SCSS
$custom: #9d64d0;
$custom-light: #bc92df;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64d0",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 208
  },
  "hsl": {
    "h": 271.667,
    "s": 53.465,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.16519,
    "h": 306.5
  },
  "luminance": 0.20837
}

Semantic roles & 50–950 ramp

primary
#9D64D0
secondary
#C7DDB3
accent
#C1256E
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64D0

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

Preview Lab → · Contrast checker → · Palette generator →

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