#9B64DA#9B64DA

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

Color values

HEX#9B64DA
RGBrgb(155, 100, 218)
HSLhsl(268, 61%, 62%)
HSVhsv(268, 54%, 85%)
CMYKcmyk(28.9%, 54.1%, 0%, 14.5%)
CIE-LABlab(53.11, 45.28, -52.45)
CIE-LCHlch(53.11, 69.29, 310.80°)
OKLaboklab(61.48% 0.0964 -0.1479)
OKLCHoklch(61.48% 0.177 303.1)
XYZxyz(30.7268, 21.1449, 68.7787)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B64DA #A3DA64
analogous
#6468DA #9B64DA #D664DA
triadic
#9B64DA #DA9B64 #64DA9B
tetradic
#9B64DA #DA6468 #A3DA64 #64DAD6
square
#9B64DA #DA6468 #A3DA64 #64DAD6
split-complementary
#9B64DA #DAD664 #68DA64
monochromatic
#5E269E #7B33CE #9B64DA #BB95E6 #DBC7F2

Accessibility & contrast

On white

4.02
#9B64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B64DA#FFFFFF#000000##000000
##9B64DA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#397EDE
Deuteranopia (green-blind)
#4B7FD7
Tritanopia (blue-blind)
#8F7B95
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b64da;
/* rgb */ color: rgb(155, 100, 218);
/* oklch */ color: oklch(61.5% 0.177 303.1);
Tailwind
colors: {
  custom: {
    50: '#bc92e6',
    500: '#9b64da',
    950: '#000000',
  },
}
SCSS
$custom: #9b64da;
$custom-light: #bc92e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b64da",
  "rgb": {
    "r": 155,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 267.966,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.17654,
    "h": 303.1
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#9B64DA
secondary
#CEE2B7
accent
#C91C79
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9B64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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