#9B64DD#9B64DD

#9B64DD is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.180 H 302.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9B64DD
RGBrgb(155, 100, 221)
HSLhsl(267, 64%, 63%)
HSVhsv(267, 55%, 87%)
CMYKcmyk(29.9%, 54.8%, 0%, 13.3%)
CIE-LABlab(53.28, 46.01, -53.87)
CIE-LCHlch(53.28, 70.85, 310.50°)
OKLaboklab(61.66% 0.0965 -0.1521)
OKLCHoklch(61.66% 0.18 302.4)
XYZxyz(31.1229, 21.3033, 70.8649)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B64DD #A6DD64
analogous
#6469DD #9B64DD #D864DD
triadic
#9B64DD #DD9B64 #64DD9B
tetradic
#9B64DD #DD6469 #A6DD64 #64DDD8
square
#9B64DD #DD6469 #A6DD64 #64DDD8
split-complementary
#9B64DD #DDD864 #69DD64
monochromatic
#5E24A3 #7B32D2 #9B64DD #BB96E8 #DCC8F3

Accessibility & contrast

On white

3.99
#9B64DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9B64DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B64DD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B64DD#FFFFFF#000000##000000
##9B64DD1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE1
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#8E7B97
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b64dd;
/* rgb */ color: rgb(155, 100, 221);
/* oklch */ color: oklch(61.7% 0.180 302.4);
Tailwind
colors: {
  custom: {
    50: '#bc92e8',
    500: '#9b64dd',
    950: '#000000',
  },
}
SCSS
$custom: #9b64dd;
$custom-light: #bc92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b64dd",
  "rgb": {
    "r": 155,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 267.273,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.18011,
    "h": 302.4
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#9B64DD
secondary
#D0E4B9
accent
#CC1A7B
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B64DD

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

Preview Lab → · Contrast checker → · Palette generator →

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