#9C64DD#9C64DD

#9C64DD is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.8% C 0.180 H 302.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9C64DD
RGBrgb(156, 100, 221)
HSLhsl(268, 64%, 63%)
HSVhsv(268, 55%, 87%)
CMYKcmyk(29.4%, 54.8%, 0%, 13.3%)
CIE-LABlab(53.39, 46.25, -53.70)
CIE-LCHlch(53.39, 70.87, 310.74°)
OKLaboklab(61.76% 0.0978 -0.1515)
OKLCHoklch(61.76% 0.18 302.8)
XYZxyz(31.3157, 21.4027, 70.8739)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64DD #A5DD64
analogous
#6468DD #9C64DD #D964DD
triadic
#9C64DD #DD9C64 #64DD9C
tetradic
#9C64DD #DD6468 #A5DD64 #64DDD9
square
#9C64DD #DD6468 #A5DD64 #64DDD9
split-complementary
#9C64DD #DDD964 #68DD64
monochromatic
#5F24A3 #7C32D2 #9C64DD #BC96E8 #DCC8F3

Accessibility & contrast

On white

3.98
#9C64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#9C64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64DD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64DD#FFFFFF#000000##000000
##9C64DD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#907B97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9c64dd;
/* rgb */ color: rgb(156, 100, 221);
/* oklch */ color: oklch(61.8% 0.180 302.8);
Tailwind
colors: {
  custom: {
    50: '#bd92e8',
    500: '#9c64dd',
    950: '#000000',
  },
}
SCSS
$custom: #9c64dd;
$custom-light: #bd92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64dd",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 267.769,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61762,
    "c": 0.18033,
    "h": 302.8
  },
  "luminance": 0.21403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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