#9D64D5#9D64D5

#9D64D5 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.171 H 305.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9D64D5
RGBrgb(157, 100, 213)
HSLhsl(270, 57%, 61%)
HSVhsv(270, 53%, 84%)
CMYKcmyk(26.3%, 53.1%, 0%, 16.5%)
CIE-LABlab(53.04, 44.59, -49.71)
CIE-LCHlch(53.04, 66.78, 311.90°)
OKLaboklab(61.39% 0.0986 -0.1398)
OKLCHoklch(61.39% 0.171 305.2)
XYZxyz(30.4695, 21.0867, 65.4029)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64D5 #9CD564
analogous
#6564D5 #9D64D5 #D564D5
triadic
#9D64D5 #D59D64 #64D59D
tetradic
#9D64D5 #D56564 #9CD564 #64D5D5
square
#9D64D5 #D56564 #9CD564 #64D5D5
split-complementary
#9D64D5 #D5D564 #64D565
monochromatic
#602996 #7F36C6 #9D64D5 #BB94E2 #DAC4EF

Accessibility & contrast

On white

4.02
#9D64D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9D64D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64D5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64D5#FFFFFF#000000##000000
##9D64D51.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7DD9
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#947993
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d64d5;
/* rgb */ color: rgb(157, 100, 213);
/* oklch */ color: oklch(61.4% 0.171 305.2);
Tailwind
colors: {
  custom: {
    50: '#bd92e2',
    500: '#9d64d5',
    950: '#000000',
  },
}
SCSS
$custom: #9d64d5;
$custom-light: #bd92e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64d5",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 270.265,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.1711,
    "h": 305.2
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#9D64D5
secondary
#CAE0B5
accent
#C52172
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64D5

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

Preview Lab → · Contrast checker → · Palette generator →

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