#9D64DD#9D64DD

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

Color values

HEX#9D64DD
RGBrgb(157, 100, 221)
HSLhsl(268, 64%, 63%)
HSVhsv(268, 55%, 87%)
CMYKcmyk(29%, 54.8%, 0%, 13.3%)
CIE-LABlab(53.50, 46.50, -53.52)
CIE-LCHlch(53.50, 70.90, 310.99°)
OKLaboklab(61.87% 0.0991 -0.151)
OKLCHoklch(61.87% 0.181 303.3)
XYZxyz(31.5100, 21.5029, 70.8830)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64DD #A4DD64
analogous
#6468DD #9D64DD #D964DD
triadic
#9D64DD #DD9D64 #64DD9D
tetradic
#9D64DD #DD6468 #A4DD64 #64DDD9
square
#9D64DD #DD6468 #A4DD64 #64DDD9
split-complementary
#9D64DD #DDD964 #68DD64
monochromatic
#6024A3 #7D32D2 #9D64DD #BD96E8 #DCC8F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D64DD#FFFFFF#000000##000000
##9D64DD1.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)
#367FE1
Deuteranopia (green-blind)
#4A80DA
Tritanopia (blue-blind)
#917B97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9d64dd;
/* rgb */ color: rgb(157, 100, 221);
/* oklch */ color: oklch(61.9% 0.181 303.3);
Tailwind
colors: {
  custom: {
    50: '#bd92e8',
    500: '#9d64dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d64dd;
$custom-light: #bd92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64dd",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 268.264,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.18055,
    "h": 303.3
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#9D64DD
secondary
#D0E4B9
accent
#CC1A78
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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