#9D64AE#9D64AE

#9D64AE is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.3% C 0.126 H 318.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9D64AE
RGBrgb(157, 100, 174)
HSLhsl(286, 31%, 54%)
HSVhsv(286, 43%, 68%)
CMYKcmyk(9.8%, 42.5%, 0%, 31.8%)
CIE-LABlab(51.08, 35.85, -30.38)
CIE-LCHlch(51.08, 46.99, 319.72°)
OKLaboklab(59.29% 0.0936 -0.0837)
OKLCHoklch(59.29% 0.126 318.2)
XYZxyz(26.1007, 19.3392, 42.3941)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64AE #75AE64
analogous
#7864AE #9D64AE #AE649A
triadic
#9D64AE #AE9D64 #64AE9D
tetradic
#9D64AE #AE7864 #75AE64 #649AAE
square
#9D64AE #AE7864 #75AE64 #649AAE
split-complementary
#9D64AE #9AAE64 #64AE78
monochromatic
#593464 #7C498C #9D64AE #B68CC3 #D0B4D8

Accessibility & contrast

On white

4.31
#9D64AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9D64AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64AE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64AE#FFFFFF#000000##000000
##9D64AE1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5976B1
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#9D6E81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d64ae;
/* rgb */ color: rgb(157, 100, 174);
/* oklch */ color: oklch(59.3% 0.126 318.2);
Tailwind
colors: {
  custom: {
    50: '#bb91c6',
    500: '#9d64ae',
    950: '#000000',
  },
}
SCSS
$custom: #9d64ae;
$custom-light: #bb91c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64ae",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 174
  },
  "hsl": {
    "h": 286.216,
    "s": 31.356,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.12561,
    "h": 318.2
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#9D64AE
secondary
#AEC7A7
accent
#C86078
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #9D64AE

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

Preview Lab → · Contrast checker → · Palette generator →

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