#9F64DA#9F64DA

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

Color values

HEX#9F64DA
RGBrgb(159, 100, 218)
HSLhsl(270, 61%, 62%)
HSVhsv(270, 54%, 85%)
CMYKcmyk(27.1%, 54.1%, 0%, 14.5%)
CIE-LABlab(53.54, 46.29, -51.73)
CIE-LCHlch(53.54, 69.42, 311.82°)
OKLaboklab(61.9% 0.1014 -0.1457)
OKLCHoklch(61.9% 0.178 304.8)
XYZxyz(31.5074, 21.5474, 68.8153)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64DA #9FDA64
analogous
#6464DA #9F64DA #DA64DA
triadic
#9F64DA #DA9F64 #64DA9F
tetradic
#9F64DA #DA6464 #9FDA64 #64DADA
square
#9F64DA #DA6464 #9FDA64 #64DADA
split-complementary
#9F64DA #DADA64 #64DA64
monochromatic
#62269E #8033CE #9F64DA #BE95E6 #DCC7F2

Accessibility & contrast

On white

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

On black

5.31
#9F64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F64DA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F64DA#FFFFFF#000000##000000
##9F64DA1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDE
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#957A96
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f64da;
/* rgb */ color: rgb(159, 100, 218);
/* oklch */ color: oklch(61.9% 0.178 304.8);
Tailwind
colors: {
  custom: {
    50: '#be92e6',
    500: '#9f64da',
    950: '#000000',
  },
}
SCSS
$custom: #9f64da;
$custom-light: #be92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64da",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 270,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61895,
    "c": 0.17751,
    "h": 304.8
  },
  "luminance": 0.21547
}

Semantic roles & 50–950 ramp

primary
#9F64DA
secondary
#CDE2B7
accent
#C91C73
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9F64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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