#9D64CC#9D64CC

#9D64CC is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.160 H 307.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9D64CC
RGBrgb(157, 100, 204)
HSLhsl(273, 50%, 60%)
HSVhsv(273, 51%, 80%)
CMYKcmyk(23%, 51%, 0%, 20%)
CIE-LABlab(52.56, 42.49, -45.36)
CIE-LCHlch(52.56, 62.15, 313.13°)
OKLaboklab(60.87% 0.098 -0.1271)
OKLCHoklch(60.87% 0.16 307.6)
XYZxyz(29.3587, 20.6424, 59.5528)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64CC #93CC64
analogous
#6964CC #9D64CC #CC64C7
triadic
#9D64CC #CC9D64 #64CC9D
tetradic
#9D64CC #CC6964 #93CC64 #64C7CC
square
#9D64CC #CC6964 #93CC64 #64C7CC
split-complementary
#9D64CC #C7CC64 #64CC69
monochromatic
#5F2D89 #7F3CB7 #9D64CC #BA92DB #D7C0EA

Accessibility & contrast

On white

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

On black

5.13
#9D64CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64CC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64CC#FFFFFF#000000##000000
##9D64CC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BD0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#96768F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d64cc;
/* rgb */ color: rgb(157, 100, 204);
/* oklch */ color: oklch(60.9% 0.160 307.6);
Tailwind
colors: {
  custom: {
    50: '#bc92dc',
    500: '#9d64cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d64cc;
$custom-light: #bc92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64cc",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 272.885,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.16047,
    "h": 307.6
  },
  "luminance": 0.20642
}

Semantic roles & 50–950 ramp

primary
#9D64CC
secondary
#C4DAB2
accent
#DA4E8D
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64CC

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

Preview Lab → · Contrast checker → · Palette generator →

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