#9C64EB#9C64EB

#9C64EB is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.6% C 0.197 H 299.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9C64EB
RGBrgb(156, 100, 235)
HSLhsl(265, 77%, 66%)
HSVhsv(265, 57%, 92%)
CMYKcmyk(33.6%, 57.4%, 0%, 7.8%)
CIE-LABlab(54.22, 49.68, -60.24)
CIE-LCHlch(54.22, 78.08, 309.51°)
OKLaboklab(62.64% 0.098 -0.1707)
OKLCHoklch(62.64% 0.197 299.9)
XYZxyz(33.2592, 22.1802, 81.1101)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C64EB #B3EB64
analogous
#646FEB #9C64EB #E064EB
triadic
#9C64EB #EB9C64 #64EB9C
tetradic
#9C64EB #EB646F #B3EB64 #64EBE0
square
#9C64EB #EB646F #B3EB64 #64EBE0
split-complementary
#9C64EB #EBE064 #6FEB64
monochromatic
#5C18BC #792EE4 #9C64EB #BF9AF2 #E1D0F9

Accessibility & contrast

On white

3.86
#9C64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9C64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C64EB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C64EB#FFFFFF#000000##000000
##9C64EB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EF
Deuteranopia (green-blind)
#3A81E8
Tritanopia (blue-blind)
#8B809E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9c64eb;
/* rgb */ color: rgb(156, 100, 235);
/* oklch */ color: oklch(62.6% 0.197 299.9);
Tailwind
colors: {
  custom: {
    50: '#bd92f2',
    500: '#9c64eb',
    950: '#000000',
  },
}
SCSS
$custom: #9c64eb;
$custom-light: #bd92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c64eb",
  "rgb": {
    "r": 156,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 264.889,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62638,
    "c": 0.19684,
    "h": 299.9
  },
  "luminance": 0.2218
}

Semantic roles & 50–950 ramp

primary
#9C64EB
secondary
#D9ECBF
accent
#D90C84
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9C64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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