#9D64DF#9D64DF

#9D64DF is a mid, vivid violet. Relative luminance 0.216; OKLCH L 62.0% C 0.183 H 302.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9D64DF
RGBrgb(157, 100, 223)
HSLhsl(268, 66%, 63%)
HSVhsv(268, 55%, 87%)
CMYKcmyk(29.6%, 55.2%, 0%, 12.5%)
CIE-LABlab(53.61, 46.98, -54.46)
CIE-LCHlch(53.61, 71.93, 310.78°)
OKLaboklab(61.99% 0.0991 -0.1537)
OKLCHoklch(61.99% 0.183 302.8)
XYZxyz(31.7781, 21.6102, 72.2948)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64DF #A6DF64
analogous
#6468DF #9D64DF #DA64DF
triadic
#9D64DF #DF9D64 #64DF9D
tetradic
#9D64DF #DF6468 #A6DF64 #64DFDA
square
#9D64DF #DF6468 #A6DF64 #64DFDA
split-complementary
#9D64DF #DFDA64 #68DF64
monochromatic
#5F22A6 #7D31D5 #9D64DF #BD97E9 #DDC9F4

Accessibility & contrast

On white

3.95
#9D64DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9D64DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64DF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64DF#FFFFFF#000000##000000
##9D64DF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#347FE3
Deuteranopia (green-blind)
#4880DC
Tritanopia (blue-blind)
#917C98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d64df;
/* rgb */ color: rgb(157, 100, 223);
/* oklch */ color: oklch(62.0% 0.183 302.8);
Tailwind
colors: {
  custom: {
    50: '#bd92ea',
    500: '#9d64df',
    950: '#000000',
  },
}
SCSS
$custom: #9d64df;
$custom-light: #bd92ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64df",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 223
  },
  "hsl": {
    "h": 267.805,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.18291,
    "h": 302.8
  },
  "luminance": 0.2161
}

Semantic roles & 50–950 ramp

primary
#9D64DF
secondary
#D1E5B9
accent
#CE1879
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64DF

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

Preview Lab → · Contrast checker → · Palette generator →

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