#9D64CD#9D64CD

#9D64CD is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.9% C 0.162 H 307.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9D64CD
RGBrgb(157, 100, 205)
HSLhsl(273, 51%, 60%)
HSVhsv(273, 51%, 80%)
CMYKcmyk(23.4%, 51.2%, 0%, 19.6%)
CIE-LABlab(52.61, 42.72, -45.85)
CIE-LCHlch(52.61, 62.67, 312.98°)
OKLaboklab(60.92% 0.098 -0.1285)
OKLCHoklch(60.92% 0.162 307.3)
XYZxyz(29.4790, 20.6905, 60.1865)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64CD #94CD64
analogous
#6864CD #9D64CD #CD64C9
triadic
#9D64CD #CD9D64 #64CD9D
tetradic
#9D64CD #CD6864 #94CD64 #64C9CD
square
#9D64CD #CD6864 #94CD64 #64C9CD
split-complementary
#9D64CD #C9CD64 #64CD68
monochromatic
#5F2D8A #7F3BB8 #9D64CD #BA92DC #D8C1EB

Accessibility & contrast

On white

4.09
#9D64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#9D64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64CD#FFFFFF#000000##000000
##9D64CD1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#96768F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d64cd;
/* rgb */ color: rgb(157, 100, 205);
/* oklch */ color: oklch(60.9% 0.162 307.3);
Tailwind
colors: {
  custom: {
    50: '#bc92dd',
    500: '#9d64cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d64cd;
$custom-light: #bc92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64cd",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 272.571,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.16165,
    "h": 307.3
  },
  "luminance": 0.2069
}

Semantic roles & 50–950 ramp

primary
#9D64CD
secondary
#C5DBB2
accent
#DB4D8E
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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