#9964CD#9964CD

#9964CD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.5% C 0.160 H 305.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9964CD
RGBrgb(153, 100, 205)
HSLhsl(270, 51%, 60%)
HSVhsv(270, 51%, 80%)
CMYKcmyk(25.4%, 51.2%, 0%, 19.6%)
CIE-LABlab(52.17, 41.66, -46.57)
CIE-LCHlch(52.17, 62.48, 311.81°)
OKLaboklab(60.5% 0.093 -0.1308)
OKLCHoklch(60.5% 0.16 305.4)
XYZxyz(28.7112, 20.2946, 60.1505)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9964CD #98CD64
analogous
#6564CD #9964CD #CD64CD
triadic
#9964CD #CD9964 #64CD99
tetradic
#9964CD #CD6564 #98CD64 #64CDCD
square
#9964CD #CD6564 #98CD64 #64CDCD
split-complementary
#9964CD #CDCD64 #64CD65
monochromatic
#5C2D8A #7A3BB8 #9964CD #B792DC #D6C1EB

Accessibility & contrast

On white

4.15
#9964CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#9964CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9964CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9964CD#FFFFFF#000000##000000
##9964CD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#537DCA
Tritanopia (blue-blind)
#91778F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9964cd;
/* rgb */ color: rgb(153, 100, 205);
/* oklch */ color: oklch(60.5% 0.160 305.4);
Tailwind
colors: {
  custom: {
    50: '#ba92dd',
    500: '#9964cd',
    950: '#000000',
  },
}
SCSS
$custom: #9964cd;
$custom-light: #ba92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9964cd",
  "rgb": {
    "r": 153,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 270.286,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60498,
    "c": 0.16048,
    "h": 305.4
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#9964CD
secondary
#C6DBB2
accent
#DB4D93
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9964CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9964CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva