#9C64E4#9C64E4

#9C64E4 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.2% C 0.189 H 301.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9C64E4
RGBrgb(156, 100, 228)
HSLhsl(266, 70%, 64%)
HSVhsv(266, 56%, 89%)
CMYKcmyk(31.6%, 56.1%, 0%, 10.6%)
CIE-LABlab(53.80, 47.96, -56.99)
CIE-LCHlch(53.80, 74.48, 310.08°)
OKLaboklab(62.19% 0.098 -0.1612)
OKLCHoklch(62.19% 0.189 301.3)
XYZxyz(32.2678, 21.7836, 75.8884)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64E4 #ACE464
analogous
#646CE4 #9C64E4 #DC64E4
triadic
#9C64E4 #E49C64 #64E49C
tetradic
#9C64E4 #E4646C #ACE464 #64E4DC
square
#9C64E4 #E4646C #ACE464 #64E4DC
split-complementary
#9C64E4 #E4DC64 #6CE464
monochromatic
#5E1FAF #7B30DB #9C64E4 #BD98ED #DFCCF6

Accessibility & contrast

On white

3.92
#9C64E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#9C64E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64E4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64E4#FFFFFF#000000##000000
##9C64E41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E8
Deuteranopia (green-blind)
#4280E1
Tritanopia (blue-blind)
#8E7E9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9c64e4;
/* rgb */ color: rgb(156, 100, 228);
/* oklch */ color: oklch(62.2% 0.189 301.3);
Tailwind
colors: {
  custom: {
    50: '#bd92ed',
    500: '#9c64e4',
    950: '#000000',
  },
}
SCSS
$custom: #9c64e4;
$custom-light: #bd92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64e4",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 228
  },
  "hsl": {
    "h": 266.25,
    "s": 70.33,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.1886,
    "h": 301.3
  },
  "luminance": 0.21784
}

Semantic roles & 50–950 ramp

primary
#9C64E4
secondary
#D5E8BC
accent
#D2137F
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9C64E4

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

Preview Lab → · Contrast checker → · Palette generator →

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