#9A64CD#9A64CD

#9A64CD is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.6% C 0.161 H 305.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9A64CD
RGBrgb(154, 100, 205)
HSLhsl(271, 51%, 60%)
HSVhsv(271, 51%, 80%)
CMYKcmyk(24.9%, 51.2%, 0%, 19.6%)
CIE-LABlab(52.28, 41.92, -46.39)
CIE-LCHlch(52.28, 62.53, 312.10°)
OKLaboklab(60.6% 0.0943 -0.1302)
OKLCHoklch(60.6% 0.161 305.9)
XYZxyz(28.9007, 20.3924, 60.1594)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A64CD #97CD64
analogous
#6564CD #9A64CD #CD64CC
triadic
#9A64CD #CD9A64 #64CD9A
tetradic
#9A64CD #CD6564 #97CD64 #64CCCD
square
#9A64CD #CD6564 #97CD64 #64CCCD
split-complementary
#9A64CD #CCCD64 #64CD65
monochromatic
#5D2D8A #7C3BB8 #9A64CD #B892DC #D6C1EB

Accessibility & contrast

On white

4.14
#9A64CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#9A64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A64CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A64CD#FFFFFF#000000##000000
##9A64CD1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#92778F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a64cd;
/* rgb */ color: rgb(154, 100, 205);
/* oklch */ color: oklch(60.6% 0.161 305.9);
Tailwind
colors: {
  custom: {
    50: '#ba92dd',
    500: '#9a64cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a64cd;
$custom-light: #ba92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a64cd",
  "rgb": {
    "r": 154,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 270.857,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.16076,
    "h": 305.9
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#9A64CD
secondary
#C6DBB2
accent
#DB4D92
background
#FBF9FD
surface
#F6F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9A64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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