#9D64BB#9D64BB

#9D64BB is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.9% C 0.141 H 313.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9D64BB
RGBrgb(157, 100, 187)
HSLhsl(279, 39%, 56%)
HSVhsv(279, 47%, 73%)
CMYKcmyk(16%, 46.5%, 0%, 26.7%)
CIE-LABlab(51.69, 38.65, -36.97)
CIE-LCHlch(51.69, 53.48, 316.27°)
OKLaboklab(59.94% 0.0959 -0.1027)
OKLCHoklch(59.94% 0.141 313)
XYZxyz(27.4299, 19.8709, 49.3946)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64BB #82BB64
analogous
#7264BB #9D64BB #BB64AE
triadic
#9D64BB #BB9D64 #64BB9D
tetradic
#9D64BB #BB7264 #82BB64 #64AEBB
square
#9D64BB #BB7264 #82BB64 #64AEBB
split-complementary
#9D64BB #AEBB64 #64BB72
monochromatic
#5C3272 #7F459D #9D64BB #B88FCE #D3B9E0

Accessibility & contrast

On white

4.22
#9D64BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#9D64BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64BB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64BB#FFFFFF#000000##000000
##9D64BB1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#9A7187
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d64bb;
/* rgb */ color: rgb(157, 100, 187);
/* oklch */ color: oklch(59.9% 0.141 313.0);
Tailwind
colors: {
  custom: {
    50: '#bc91d0',
    500: '#9d64bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d64bb;
$custom-light: #bc91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64bb",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 279.31,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59942,
    "c": 0.14051,
    "h": 313
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#9D64BB
secondary
#B8CFAB
accent
#CF5982
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9D64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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