#9D64E6#9D64E6

#9D64E6 is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.191 H 301.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9D64E6
RGBrgb(157, 100, 230)
HSLhsl(266, 72%, 65%)
HSVhsv(266, 57%, 90%)
CMYKcmyk(31.7%, 56.5%, 0%, 9.8%)
CIE-LABlab(54.02, 48.68, -57.74)
CIE-LCHlch(54.02, 75.52, 310.13°)
OKLaboklab(62.42% 0.0993 -0.1633)
OKLCHoklch(62.42% 0.191 301.3)
XYZxyz(32.7414, 21.9955, 77.3682)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64E6 #ADE664
analogous
#646CE6 #9D64E6 #DE64E6
triadic
#9D64E6 #E69D64 #64E69D
tetradic
#9D64E6 #E6646C #ADE664 #64E6DE
square
#9D64E6 #E6646C #ADE664 #64E6DE
split-complementary
#9D64E6 #E6DE64 #6CE664
monochromatic
#5F1DB3 #7C2FDD #9D64E6 #BE99EE #E0CDF7

Accessibility & contrast

On white

3.89
#9D64E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9D64E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64E6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64E6#FFFFFF#000000##000000
##9D64E61.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80EA
Deuteranopia (green-blind)
#4180E3
Tritanopia (blue-blind)
#8E7E9C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d64e6;
/* rgb */ color: rgb(157, 100, 230);
/* oklch */ color: oklch(62.4% 0.191 301.3);
Tailwind
colors: {
  custom: {
    50: '#be92ef',
    500: '#9d64e6',
    950: '#000000',
  },
}
SCSS
$custom: #9d64e6;
$custom-light: #be92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64e6",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 230
  },
  "hsl": {
    "h": 266.308,
    "s": 72.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62422,
    "c": 0.19114,
    "h": 301.3
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#9D64E6
secondary
#D6E9BD
accent
#D4117F
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64E6

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

Preview Lab → · Contrast checker → · Palette generator →

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