#9B64DB#9B64DB

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

Color values

HEX#9B64DB
RGBrgb(155, 100, 219)
HSLhsl(268, 62%, 63%)
HSVhsv(268, 54%, 86%)
CMYKcmyk(29.2%, 54.3%, 0%, 14.1%)
CIE-LABlab(53.16, 45.52, -52.93)
CIE-LCHlch(53.16, 69.81, 310.70°)
OKLaboklab(61.54% 0.0964 -0.1493)
OKLCHoklch(61.54% 0.178 302.9)
XYZxyz(30.8580, 21.1974, 69.4699)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B64DB #A4DB64
analogous
#6468DB #9B64DB #D764DB
triadic
#9B64DB #DB9B64 #64DB9B
tetradic
#9B64DB #DB6468 #A4DB64 #64DBD7
square
#9B64DB #DB6468 #A4DB64 #64DBD7
split-complementary
#9B64DB #DBD764 #68DB64
monochromatic
#5E25A0 #7B32CF #9B64DB #BB96E7 #DBC7F2

Accessibility & contrast

On white

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

On black

5.24
#9B64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B64DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B64DB#FFFFFF#000000##000000
##9B64DB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDF
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#8F7B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b64db;
/* rgb */ color: rgb(155, 100, 219);
/* oklch */ color: oklch(61.5% 0.178 302.9);
Tailwind
colors: {
  custom: {
    50: '#bc92e7',
    500: '#9b64db',
    950: '#000000',
  },
}
SCSS
$custom: #9b64db;
$custom-light: #bc92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b64db",
  "rgb": {
    "r": 155,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 267.731,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61536,
    "c": 0.17774,
    "h": 302.9
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#9B64DB
secondary
#CFE3B8
accent
#CA1B79
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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