#9B64DC#9B64DC

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

Color values

HEX#9B64DC
RGBrgb(155, 100, 220)
HSLhsl(268, 63%, 63%)
HSVhsv(268, 55%, 86%)
CMYKcmyk(29.5%, 54.5%, 0%, 13.7%)
CIE-LABlab(53.22, 45.77, -53.40)
CIE-LCHlch(53.22, 70.33, 310.60°)
OKLaboklab(61.6% 0.0965 -0.1507)
OKLCHoklch(61.6% 0.179 302.6)
XYZxyz(30.9901, 21.2502, 70.1653)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B64DC #A5DC64
analogous
#6469DC #9B64DC #D764DC
triadic
#9B64DC #DC9B64 #64DC9B
tetradic
#9B64DC #DC6469 #A5DC64 #64DCD7
square
#9B64DC #DC6469 #A5DC64 #64DCD7
split-complementary
#9B64DC #DCD764 #69DC64
monochromatic
#5E24A1 #7B32D1 #9B64DC #BB96E7 #DBC8F3

Accessibility & contrast

On white

4.00
#9B64DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9B64DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B64DC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B64DC#FFFFFF#000000##000000
##9B64DC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#8F7B96
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b64dc;
/* rgb */ color: rgb(155, 100, 220);
/* oklch */ color: oklch(61.6% 0.179 302.6);
Tailwind
colors: {
  custom: {
    50: '#bc92e7',
    500: '#9b64dc',
    950: '#000000',
  },
}
SCSS
$custom: #9b64dc;
$custom-light: #bc92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b64dc",
  "rgb": {
    "r": 155,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 267.5,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61597,
    "c": 0.17893,
    "h": 302.6
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B64DC

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

Preview Lab → · Contrast checker → · Palette generator →

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