#9E64DB#9E64DB

#9E64DB is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.178 H 304.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9E64DB
RGBrgb(158, 100, 219)
HSLhsl(269, 62%, 63%)
HSVhsv(269, 54%, 86%)
CMYKcmyk(27.9%, 54.3%, 0%, 14.1%)
CIE-LABlab(53.49, 46.27, -52.39)
CIE-LCHlch(53.49, 69.90, 311.45°)
OKLaboklab(61.85% 0.1002 -0.1476)
OKLCHoklch(61.85% 0.178 304.2)
XYZxyz(31.4411, 21.4980, 69.4972)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E64DB #A1DB64
analogous
#6465DB #9E64DB #DA64DB
triadic
#9E64DB #DB9E64 #64DB9E
tetradic
#9E64DB #DB6465 #A1DB64 #64DBDA
square
#9E64DB #DB6465 #A1DB64 #64DBDA
split-complementary
#9E64DB #DBDA64 #65DB64
monochromatic
#6125A0 #7F32CF #9E64DB #BD96E7 #DCC7F2

Accessibility & contrast

On white

3.96
#9E64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9E64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E64DB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E64DB#FFFFFF#000000##000000
##9E64DB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#937B96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9e64db;
/* rgb */ color: rgb(158, 100, 219);
/* oklch */ color: oklch(61.9% 0.178 304.2);
Tailwind
colors: {
  custom: {
    50: '#be92e7',
    500: '#9e64db',
    950: '#000000',
  },
}
SCSS
$custom: #9e64db;
$custom-light: #be92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e64db",
  "rgb": {
    "r": 158,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 269.244,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6185,
    "c": 0.17843,
    "h": 304.2
  },
  "luminance": 0.21498
}

Semantic roles & 50–950 ramp

primary
#9E64DB
secondary
#CEE3B8
accent
#CA1B75
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9E64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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