#9D64DE#9D64DE

#9D64DE is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.9% C 0.182 H 303.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9D64DE
RGBrgb(157, 100, 222)
HSLhsl(268, 65%, 63%)
HSVhsv(268, 55%, 87%)
CMYKcmyk(29.3%, 55%, 0%, 12.9%)
CIE-LABlab(53.55, 46.74, -53.99)
CIE-LCHlch(53.55, 71.41, 310.88°)
OKLaboklab(61.93% 0.0991 -0.1523)
OKLCHoklch(61.93% 0.182 303)
XYZxyz(31.6436, 21.5564, 71.5868)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64DE #A5DE64
analogous
#6468DE #9D64DE #DA64DE
triadic
#9D64DE #DE9D64 #64DE9D
tetradic
#9D64DE #DE6468 #A5DE64 #64DEDA
square
#9D64DE #DE6468 #A5DE64 #64DEDA
split-complementary
#9D64DE #DEDA64 #68DE64
monochromatic
#6023A5 #7D32D3 #9D64DE #BD96E9 #DDC9F3

Accessibility & contrast

On white

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

On black

5.31
#9D64DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64DE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64DE#FFFFFF#000000##000000
##9D64DE1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE2
Deuteranopia (green-blind)
#4980DB
Tritanopia (blue-blind)
#917C97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d64de;
/* rgb */ color: rgb(157, 100, 222);
/* oklch */ color: oklch(61.9% 0.182 303.0);
Tailwind
colors: {
  custom: {
    50: '#bd92e9',
    500: '#9d64de',
    950: '#000000',
  },
}
SCSS
$custom: #9d64de;
$custom-light: #bd92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64de",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 222
  },
  "hsl": {
    "h": 268.033,
    "s": 64.894,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61927,
    "c": 0.18173,
    "h": 303
  },
  "luminance": 0.21556
}

Semantic roles & 50–950 ramp

primary
#9D64DE
secondary
#D0E5B9
accent
#CD1979
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64DE

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

Preview Lab → · Contrast checker → · Palette generator →

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