#9D64E1#9D64E1

#9D64E1 is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.1% C 0.185 H 302.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9D64E1
RGBrgb(157, 100, 225)
HSLhsl(267, 68%, 64%)
HSVhsv(267, 56%, 88%)
CMYKcmyk(30.2%, 55.6%, 0%, 11.8%)
CIE-LABlab(53.73, 47.47, -55.40)
CIE-LCHlch(53.73, 72.95, 310.59°)
OKLaboklab(62.11% 0.0992 -0.1565)
OKLCHoklch(62.11% 0.185 302.4)
XYZxyz(32.0493, 21.7187, 73.7232)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64E1 #A8E164
analogous
#6469E1 #9D64E1 #DB64E1
triadic
#9D64E1 #E19D64 #64E19D
tetradic
#9D64E1 #E16469 #A8E164 #64E1DB
square
#9D64E1 #E16469 #A8E164 #64E1DB
split-complementary
#9D64E1 #E1DB64 #69E164
monochromatic
#5F21AA #7D31D7 #9D64E1 #BD97EB #DECBF5

Accessibility & contrast

On white

3.93
#9D64E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9D64E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64E1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64E1#FFFFFF#000000##000000
##9D64E11.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#317FE5
Deuteranopia (green-blind)
#4680DE
Tritanopia (blue-blind)
#907D99
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d64e1;
/* rgb */ color: rgb(157, 100, 225);
/* oklch */ color: oklch(62.1% 0.185 302.4);
Tailwind
colors: {
  custom: {
    50: '#bd92eb',
    500: '#9d64e1',
    950: '#000000',
  },
}
SCSS
$custom: #9d64e1;
$custom-light: #bd92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64e1",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 267.36,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62111,
    "c": 0.18526,
    "h": 302.4
  },
  "luminance": 0.21719
}

Semantic roles & 50–950 ramp

primary
#9D64E1
secondary
#D2E6BA
accent
#CF167B
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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