#9D64E5#9D64E5

#9D64E5 is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.4% C 0.190 H 301.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9D64E5
RGBrgb(157, 100, 229)
HSLhsl(267, 71%, 65%)
HSVhsv(267, 56%, 90%)
CMYKcmyk(31.4%, 56.3%, 0%, 10.2%)
CIE-LABlab(53.96, 48.44, -57.28)
CIE-LCHlch(53.96, 75.01, 310.22°)
OKLaboklab(62.36% 0.0993 -0.162)
OKLCHoklch(62.36% 0.19 301.5)
XYZxyz(32.6014, 21.9395, 76.6307)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64E5 #ACE564
analogous
#646BE5 #9D64E5 #DE64E5
triadic
#9D64E5 #E59D64 #64E59D
tetradic
#9D64E5 #E5646B #ACE564 #64E5DE
square
#9D64E5 #E5646B #ACE564 #64E5DE
split-complementary
#9D64E5 #E5DE64 #6BE564
monochromatic
#5F1EB1 #7C30DC #9D64E5 #BE98EE #DFCDF7

Accessibility & contrast

On white

3.90
#9D64E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#9D64E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64E5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64E5#FFFFFF#000000##000000
##9D64E51.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E9
Deuteranopia (green-blind)
#4280E2
Tritanopia (blue-blind)
#8F7E9B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d64e5;
/* rgb */ color: rgb(157, 100, 229);
/* oklch */ color: oklch(62.4% 0.190 301.5);
Tailwind
colors: {
  custom: {
    50: '#be92ee',
    500: '#9d64e5',
    950: '#000000',
  },
}
SCSS
$custom: #9d64e5;
$custom-light: #be92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64e5",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 266.512,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6236,
    "c": 0.18997,
    "h": 301.5
  },
  "luminance": 0.2194
}

Semantic roles & 50–950 ramp

primary
#9D64E5
secondary
#D5E9BC
accent
#D3127E
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64E5

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

Preview Lab → · Contrast checker → · Palette generator →

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