#9C64CD#9C64CD

#9C64CD is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.8% C 0.161 H 306.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9C64CD
RGBrgb(156, 100, 205)
HSLhsl(272, 51%, 60%)
HSVhsv(272, 51%, 80%)
CMYKcmyk(23.9%, 51.2%, 0%, 19.6%)
CIE-LABlab(52.50, 42.45, -46.03)
CIE-LCHlch(52.50, 62.62, 312.69°)
OKLaboklab(60.82% 0.0968 -0.1291)
OKLCHoklch(60.82% 0.161 306.9)
XYZxyz(29.2847, 20.5903, 60.1774)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64CD #95CD64
analogous
#6764CD #9C64CD #CD64CA
triadic
#9C64CD #CD9C64 #64CD9C
tetradic
#9C64CD #CD6764 #95CD64 #64CACD
square
#9C64CD #CD6764 #95CD64 #64CACD
split-complementary
#9C64CD #CACD64 #64CD67
monochromatic
#5E2D8A #7E3BB8 #9C64CD #BA92DC #D7C1EB

Accessibility & contrast

On white

4.10
#9C64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#9C64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64CD#FFFFFF#000000##000000
##9C64CD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#95768F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9c64cd;
/* rgb */ color: rgb(156, 100, 205);
/* oklch */ color: oklch(60.8% 0.161 306.9);
Tailwind
colors: {
  custom: {
    50: '#bc92dd',
    500: '#9c64cd',
    950: '#000000',
  },
}
SCSS
$custom: #9c64cd;
$custom-light: #bc92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64cd",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 272,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.16135,
    "h": 306.9
  },
  "luminance": 0.2059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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