#9A64EC#9A64EC

#9A64EC is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.198 H 298.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9A64EC
RGBrgb(154, 100, 236)
HSLhsl(264, 78%, 66%)
HSVhsv(264, 58%, 93%)
CMYKcmyk(34.7%, 57.6%, 0%, 7.5%)
CIE-LABlab(54.07, 49.47, -61.05)
CIE-LCHlch(54.07, 78.57, 309.02°)
OKLaboklab(62.5% 0.0955 -0.1731)
OKLCHoklch(62.5% 0.198 298.9)
XYZxyz(33.0202, 22.0401, 81.8551)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A64EC #B6EC64
analogous
#6472EC #9A64EC #DE64EC
triadic
#9A64EC #EC9A64 #64EC9A
tetradic
#9A64EC #EC6472 #B6EC64 #64ECDE
square
#9A64EC #EC6472 #B6EC64 #64ECDE
split-complementary
#9A64EC #ECDE64 #72EC64
monochromatic
#5A17BE #762DE5 #9A64EC #BE9BF3 #E1D1F9

Accessibility & contrast

On white

3.88
#9A64EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#9A64EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A64EC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A64EC#FFFFFF#000000##000000
##9A64EC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F0
Deuteranopia (green-blind)
#3680E9
Tritanopia (blue-blind)
#88809F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9a64ec;
/* rgb */ color: rgb(154, 100, 236);
/* oklch */ color: oklch(62.5% 0.198 298.9);
Tailwind
colors: {
  custom: {
    50: '#bc92f3',
    500: '#9a64ec',
    950: '#000000',
  },
}
SCSS
$custom: #9a64ec;
$custom-light: #bc92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a64ec",
  "rgb": {
    "r": 154,
    "g": 100,
    "b": 236
  },
  "hsl": {
    "h": 263.824,
    "s": 78.161,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62501,
    "c": 0.19771,
    "h": 298.9
  },
  "luminance": 0.2204
}

Semantic roles & 50–950 ramp

primary
#9A64EC
secondary
#DBECBF
accent
#DA0B88
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A64EC

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

Preview Lab → · Contrast checker → · Palette generator →

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