#9D64D7#9D64D7

#9D64D7 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.173 H 304.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9D64D7
RGBrgb(157, 100, 215)
HSLhsl(270, 59%, 62%)
HSVhsv(270, 53%, 84%)
CMYKcmyk(27%, 53.5%, 0%, 15.7%)
CIE-LABlab(53.16, 45.07, -50.66)
CIE-LCHlch(53.16, 67.81, 311.65°)
OKLaboklab(61.51% 0.0988 -0.1426)
OKLCHoklch(61.51% 0.173 304.7)
XYZxyz(30.7249, 21.1889, 66.7480)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64D7 #9ED764
analogous
#6465D7 #9D64D7 #D664D7
triadic
#9D64D7 #D79D64 #64D79D
tetradic
#9D64D7 #D76465 #9ED764 #64D7D6
square
#9D64D7 #D76465 #9ED764 #64D7D6
split-complementary
#9D64D7 #D7D664 #65D764
monochromatic
#602899 #7E34CA #9D64D7 #BC95E4 #DBC5F0

Accessibility & contrast

On white

4.01
#9D64D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9D64D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64D7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64D7#FFFFFF#000000##000000
##9D64D71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7DDB
Deuteranopia (green-blind)
#4F7FD4
Tritanopia (blue-blind)
#937994
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d64d7;
/* rgb */ color: rgb(157, 100, 215);
/* oklch */ color: oklch(61.5% 0.173 304.7);
Tailwind
colors: {
  custom: {
    50: '#bd92e4',
    500: '#9d64d7',
    950: '#000000',
  },
}
SCSS
$custom: #9d64d7;
$custom-light: #bd92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64d7",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 269.739,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.17347,
    "h": 304.7
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#9D64D7
secondary
#CCE1B6
accent
#C71F73
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #9D64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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