#9E64DD#9E64DD

#9E64DD is a mid, vivid violet. Relative luminance 0.216; OKLCH L 62.0% C 0.181 H 303.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9E64DD
RGBrgb(158, 100, 221)
HSLhsl(269, 64%, 63%)
HSVhsv(269, 55%, 87%)
CMYKcmyk(28.5%, 54.8%, 0%, 13.3%)
CIE-LABlab(53.60, 46.75, -53.34)
CIE-LCHlch(53.60, 70.92, 311.23°)
OKLaboklab(61.97% 0.1003 -0.1504)
OKLCHoklch(61.97% 0.181 303.7)
XYZxyz(31.7060, 21.6040, 70.8922)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E64DD #A3DD64
analogous
#6467DD #9E64DD #DA64DD
triadic
#9E64DD #DD9E64 #64DD9E
tetradic
#9E64DD #DD6467 #A3DD64 #64DDDA
square
#9E64DD #DD6467 #A3DD64 #64DDDA
split-complementary
#9E64DD #DDDA64 #67DD64
monochromatic
#6124A3 #7F32D2 #9E64DD #BD96E8 #DDC8F3

Accessibility & contrast

On white

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

On black

5.32
#9E64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E64DD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E64DD#FFFFFF#000000##000000
##9E64DD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#937B97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e64dd;
/* rgb */ color: rgb(158, 100, 221);
/* oklch */ color: oklch(62.0% 0.181 303.7);
Tailwind
colors: {
  custom: {
    50: '#be92e8',
    500: '#9e64dd',
    950: '#000000',
  },
}
SCSS
$custom: #9e64dd;
$custom-light: #be92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e64dd",
  "rgb": {
    "r": 158,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 268.76,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6197,
    "c": 0.18078,
    "h": 303.7
  },
  "luminance": 0.21604
}

Semantic roles & 50–950 ramp

primary
#9E64DD
secondary
#CFE4B9
accent
#CC1A76
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9E64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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