#9D64E7#9D64E7

#9D64E7 is a light, vivid violet. Relative luminance 0.221; OKLCH L 62.5% C 0.192 H 301.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9D64E7
RGBrgb(157, 100, 231)
HSLhsl(266, 73%, 65%)
HSVhsv(266, 57%, 91%)
CMYKcmyk(32%, 56.7%, 0%, 9.4%)
CIE-LABlab(54.08, 48.93, -58.21)
CIE-LCHlch(54.08, 76.04, 310.05°)
OKLaboklab(62.49% 0.0993 -0.1647)
OKLCHoklch(62.49% 0.192 301.1)
XYZxyz(32.8822, 22.0518, 78.1099)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64E7 #AEE764
analogous
#646DE7 #9D64E7 #DF64E7
triadic
#9D64E7 #E79D64 #64E79D
tetradic
#9D64E7 #E7646D #AEE764 #64E7DF
square
#9D64E7 #E7646D #AEE764 #64E7DF
split-complementary
#9D64E7 #E7DF64 #6DE764
monochromatic
#5E1CB5 #7B2FDF #9D64E7 #BF99EF #E0CEF7

Accessibility & contrast

On white

3.88
#9D64E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9D64E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64E7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64E7#FFFFFF#000000##000000
##9D64E71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#4081E4
Tritanopia (blue-blind)
#8E7E9C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9d64e7;
/* rgb */ color: rgb(157, 100, 231);
/* oklch */ color: oklch(62.5% 0.192 301.1);
Tailwind
colors: {
  custom: {
    50: '#be92ef',
    500: '#9d64e7',
    950: '#000000',
  },
}
SCSS
$custom: #9d64e7;
$custom-light: #be92ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64e7",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 266.107,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62485,
    "c": 0.19231,
    "h": 301.1
  },
  "luminance": 0.22052
}

Semantic roles & 50–950 ramp

primary
#9D64E7
secondary
#D6EABD
accent
#D51080
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64E7

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

Preview Lab → · Contrast checker → · Palette generator →

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