#9C64EC#9C64EC

#9C64EC is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.7% C 0.198 H 299.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9C64EC
RGBrgb(156, 100, 236)
HSLhsl(265, 78%, 66%)
HSVhsv(265, 58%, 93%)
CMYKcmyk(33.9%, 57.6%, 0%, 7.5%)
CIE-LABlab(54.28, 49.92, -60.70)
CIE-LCHlch(54.28, 78.59, 309.44°)
OKLaboklab(62.7% 0.098 -0.1721)
OKLCHoklch(62.7% 0.198 299.7)
XYZxyz(33.4041, 22.2381, 81.8731)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64EC #B4EC64
analogous
#6470EC #9C64EC #E064EC
triadic
#9C64EC #EC9C64 #64EC9C
tetradic
#9C64EC #EC6470 #B4EC64 #64ECE0
square
#9C64EC #EC6470 #B4EC64 #64ECE0
split-complementary
#9C64EC #ECE064 #70EC64
monochromatic
#5C17BE #792DE5 #9C64EC #BF9BF3 #E2D1F9

Accessibility & contrast

On white

3.85
#9C64EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#9C64EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64EC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64EC#FFFFFF#000000##000000
##9C64EC1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#3981E9
Tritanopia (blue-blind)
#8B809F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9c64ec;
/* rgb */ color: rgb(156, 100, 236);
/* oklch */ color: oklch(62.7% 0.198 299.7);
Tailwind
colors: {
  custom: {
    50: '#be92f3',
    500: '#9c64ec',
    950: '#000000',
  },
}
SCSS
$custom: #9c64ec;
$custom-light: #be92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64ec",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 264.706,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62703,
    "c": 0.19801,
    "h": 299.7
  },
  "luminance": 0.22238
}

Semantic roles & 50–950 ramp

primary
#9C64EC
secondary
#DAECBF
accent
#DA0B85
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9C64EC

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

Preview Lab → · Contrast checker → · Palette generator →

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