#9F64DD#9F64DD

#9F64DD is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.1% C 0.181 H 304.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9F64DD
RGBrgb(159, 100, 221)
HSLhsl(269, 64%, 63%)
HSVhsv(269, 55%, 87%)
CMYKcmyk(28.1%, 54.8%, 0%, 13.3%)
CIE-LABlab(53.71, 47.00, -53.16)
CIE-LCHlch(53.71, 70.95, 311.48°)
OKLaboklab(62.08% 0.1016 -0.1498)
OKLCHoklch(62.08% 0.181 304.1)
XYZxyz(31.9035, 21.7058, 70.9015)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F64DD #A2DD64
analogous
#6465DD #9F64DD #DB64DD
triadic
#9F64DD #DD9F64 #64DD9F
tetradic
#9F64DD #DD6465 #A2DD64 #64DDDB
square
#9F64DD #DD6465 #A2DD64 #64DDDB
split-complementary
#9F64DD #DDDB64 #65DD64
monochromatic
#6224A3 #8032D2 #9F64DD #BE96E8 #DDC8F3

Accessibility & contrast

On white

3.93
#9F64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#9F64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F64DD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F64DD#FFFFFF#000000##000000
##9F64DD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f64dd;
/* rgb */ color: rgb(159, 100, 221);
/* oklch */ color: oklch(62.1% 0.181 304.1);
Tailwind
colors: {
  custom: {
    50: '#bf92e8',
    500: '#9f64dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f64dd;
$custom-light: #bf92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f64dd",
  "rgb": {
    "r": 159,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 269.256,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62075,
    "c": 0.18102,
    "h": 304.1
  },
  "luminance": 0.21706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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