#9D64D9#9D64D9

#9D64D9 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.6% C 0.176 H 304.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9D64D9
RGBrgb(157, 100, 217)
HSLhsl(269, 61%, 62%)
HSVhsv(269, 54%, 85%)
CMYKcmyk(27.6%, 53.9%, 0%, 14.9%)
CIE-LABlab(53.27, 45.54, -51.62)
CIE-LCHlch(53.27, 68.84, 311.42°)
OKLaboklab(61.62% 0.0989 -0.1454)
OKLCHoklch(61.62% 0.176 304.2)
XYZxyz(30.9834, 21.2923, 68.1097)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64D9 #A0D964
analogous
#6465D9 #9D64D9 #D864D9
triadic
#9D64D9 #D99D64 #64D99D
tetradic
#9D64D9 #D96465 #A0D964 #64D9D8
square
#9D64D9 #D96465 #A0D964 #64D9D8
split-complementary
#9D64D9 #D9D864 #65D964
monochromatic
#60269C #7E33CD #9D64D9 #BC95E5 #DBC6F1

Accessibility & contrast

On white

3.99
#9D64D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9D64D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64D9
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64D9#FFFFFF#000000##000000
##9D64D91.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDD
Deuteranopia (green-blind)
#4E7FD6
Tritanopia (blue-blind)
#927A95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d64d9;
/* rgb */ color: rgb(157, 100, 217);
/* oklch */ color: oklch(61.6% 0.176 304.2);
Tailwind
colors: {
  custom: {
    50: '#bd92e5',
    500: '#9d64d9',
    950: '#000000',
  },
}
SCSS
$custom: #9d64d9;
$custom-light: #bd92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64d9",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 217
  },
  "hsl": {
    "h": 269.231,
    "s": 60.622,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61624,
    "c": 0.17583,
    "h": 304.2
  },
  "luminance": 0.21292
}

Semantic roles & 50–950 ramp

primary
#9D64D9
secondary
#CDE2B7
accent
#C81D75
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64D9

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

Preview Lab → · Contrast checker → · Palette generator →

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