#9A64EB#9A64EB

#9A64EB is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.4% C 0.197 H 299.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9A64EB
RGBrgb(154, 100, 235)
HSLhsl(264, 77%, 66%)
HSVhsv(264, 57%, 92%)
CMYKcmyk(34.5%, 57.4%, 0%, 7.8%)
CIE-LABlab(54.01, 49.22, -60.58)
CIE-LCHlch(54.01, 78.06, 309.09°)
OKLaboklab(62.44% 0.0955 -0.1718)
OKLCHoklch(62.44% 0.197 299.1)
XYZxyz(32.8753, 21.9822, 81.0921)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A64EB #B5EB64
analogous
#6471EB #9A64EB #DD64EB
triadic
#9A64EB #EB9A64 #64EB9A
tetradic
#9A64EB #EB6471 #B5EB64 #64EBDD
square
#9A64EB #EB6471 #B5EB64 #64EBDD
split-complementary
#9A64EB #EBDD64 #71EB64
monochromatic
#5A18BC #772EE4 #9A64EB #BD9AF2 #E1D0F9

Accessibility & contrast

On white

3.89
#9A64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9A64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A64EB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A64EB#FFFFFF#000000##000000
##9A64EB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E81EF
Deuteranopia (green-blind)
#3880E8
Tritanopia (blue-blind)
#88809E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9a64eb;
/* rgb */ color: rgb(154, 100, 235);
/* oklch */ color: oklch(62.4% 0.197 299.1);
Tailwind
colors: {
  custom: {
    50: '#bc92f2',
    500: '#9a64eb',
    950: '#000000',
  },
}
SCSS
$custom: #9a64eb;
$custom-light: #bc92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a64eb",
  "rgb": {
    "r": 154,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 264,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62437,
    "c": 0.19652,
    "h": 299.1
  },
  "luminance": 0.21983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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