#9E64CD#9E64CD

#9E64CD is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.162 H 307.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E64CD
RGBrgb(158, 100, 205)
HSLhsl(273, 51%, 60%)
HSVhsv(273, 51%, 80%)
CMYKcmyk(22.9%, 51.2%, 0%, 19.6%)
CIE-LABlab(52.72, 42.99, -45.66)
CIE-LCHlch(52.72, 62.71, 313.27°)
OKLaboklab(61.03% 0.0993 -0.128)
OKLCHoklch(61.03% 0.162 307.8)
XYZxyz(29.6750, 20.7916, 60.1957)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E64CD #93CD64
analogous
#6A64CD #9E64CD #CD64C8
triadic
#9E64CD #CD9E64 #64CD9E
tetradic
#9E64CD #CD6A64 #93CD64 #64C8CD
square
#9E64CD #CD6A64 #93CD64 #64C8CD
split-complementary
#9E64CD #C8CD64 #64CD6A
monochromatic
#602D8A #803BB8 #9E64CD #BB92DC #D8C1EB

Accessibility & contrast

On white

4.07
#9E64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9E64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E64CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E64CD#FFFFFF#000000##000000
##9E64CD1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#97768F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e64cd;
/* rgb */ color: rgb(158, 100, 205);
/* oklch */ color: oklch(61.0% 0.162 307.8);
Tailwind
colors: {
  custom: {
    50: '#bd92dd',
    500: '#9e64cd',
    950: '#000000',
  },
}
SCSS
$custom: #9e64cd;
$custom-light: #bd92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e64cd",
  "rgb": {
    "r": 158,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 273.143,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61032,
    "c": 0.16197,
    "h": 307.8
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#9E64CD
secondary
#C4DBB2
accent
#DB4D8C
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9E64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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