#9F64DB#9F64DB

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

Color values

HEX#9F64DB
RGBrgb(159, 100, 219)
HSLhsl(270, 62%, 63%)
HSVhsv(270, 54%, 86%)
CMYKcmyk(27.4%, 54.3%, 0%, 14.1%)
CIE-LABlab(53.60, 46.52, -52.21)
CIE-LCHlch(53.60, 69.93, 311.70°)
OKLaboklab(61.96% 0.1015 -0.1471)
OKLCHoklch(61.96% 0.179 304.6)
XYZxyz(31.6387, 21.5999, 69.5065)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64DB #A0DB64
analogous
#6464DB #9F64DB #DB64DB
triadic
#9F64DB #DB9F64 #64DB9F
tetradic
#9F64DB #DB6464 #A0DB64 #64DBDB
square
#9F64DB #DB6464 #A0DB64 #64DBDB
split-complementary
#9F64DB #DBDB64 #64DB64
monochromatic
#6225A0 #8032CF #9F64DB #BE96E7 #DDC7F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F64DB#FFFFFF#000000##000000
##9F64DB1.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)
#3A7EDF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#957A96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f64db;
/* rgb */ color: rgb(159, 100, 219);
/* oklch */ color: oklch(62.0% 0.179 304.6);
Tailwind
colors: {
  custom: {
    50: '#be92e7',
    500: '#9f64db',
    950: '#000000',
  },
}
SCSS
$custom: #9f64db;
$custom-light: #be92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64db",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 269.748,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61955,
    "c": 0.17868,
    "h": 304.6
  },
  "luminance": 0.216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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