#9A64DC#9A64DC

#9A64DC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.179 H 302.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9A64DC
RGBrgb(154, 100, 220)
HSLhsl(267, 63%, 63%)
HSVhsv(267, 55%, 86%)
CMYKcmyk(30%, 54.5%, 0%, 13.7%)
CIE-LABlab(53.12, 45.52, -53.58)
CIE-LCHlch(53.12, 70.30, 310.35°)
OKLaboklab(61.49% 0.0952 -0.1512)
OKLCHoklch(61.49% 0.179 302.2)
XYZxyz(30.7989, 21.1516, 70.1564)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A64DC #A6DC64
analogous
#646ADC #9A64DC #D664DC
triadic
#9A64DC #DC9A64 #64DC9A
tetradic
#9A64DC #DC646A #A6DC64 #64DCD6
square
#9A64DC #DC646A #A6DC64 #64DCD6
split-complementary
#9A64DC #DCD664 #6ADC64
monochromatic
#5D24A1 #7932D1 #9A64DC #BB96E7 #DBC8F3

Accessibility & contrast

On white

4.01
#9A64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9A64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A64DC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A64DC#FFFFFF#000000##000000
##9A64DC1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#8D7B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a64dc;
/* rgb */ color: rgb(154, 100, 220);
/* oklch */ color: oklch(61.5% 0.179 302.2);
Tailwind
colors: {
  custom: {
    50: '#bb92e7',
    500: '#9a64dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a64dc;
$custom-light: #bb92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a64dc",
  "rgb": {
    "r": 154,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 267,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.17872,
    "h": 302.2
  },
  "luminance": 0.21152
}

Semantic roles & 50–950 ramp

primary
#9A64DC
secondary
#D0E4B8
accent
#CB1B7C
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9A64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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