#9D64AF#9D64AF

#9D64AF is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.3% C 0.127 H 317.7°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9D64AF
RGBrgb(157, 100, 175)
HSLhsl(286, 32%, 54%)
HSVhsv(286, 43%, 69%)
CMYKcmyk(10.3%, 42.9%, 0%, 31.4%)
CIE-LABlab(51.13, 36.06, -30.90)
CIE-LCHlch(51.13, 47.48, 319.41°)
OKLaboklab(59.34% 0.0938 -0.0852)
OKLCHoklch(59.34% 0.127 317.7)
XYZxyz(26.1986, 19.3784, 42.9095)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64AF #76AF64
analogous
#7864AF #9D64AF #AF649C
triadic
#9D64AF #AF9D64 #64AF9D
tetradic
#9D64AF #AF7864 #76AF64 #649CAF
square
#9D64AF #AF7864 #76AF64 #649CAF
split-complementary
#9D64AF #9CAF64 #64AF78
monochromatic
#593465 #7D498D #9D64AF #B78CC4 #D0B5D9

Accessibility & contrast

On white

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

On black

4.88
#9D64AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64AF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64AF#FFFFFF#000000##000000
##9D64AF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#677CAD
Tritanopia (blue-blind)
#9D6E81
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d64af;
/* rgb */ color: rgb(157, 100, 175);
/* oklch */ color: oklch(59.3% 0.127 317.7);
Tailwind
colors: {
  custom: {
    50: '#bb91c7',
    500: '#9d64af',
    950: '#000000',
  },
}
SCSS
$custom: #9d64af;
$custom-light: #bb91c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64af",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 285.6,
    "s": 31.915,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59336,
    "c": 0.12674,
    "h": 317.7
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#9D64AF
secondary
#AFC7A7
accent
#C86079
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #9D64AF

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

Preview Lab → · Contrast checker → · Palette generator →

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