#9D64CF#9D64CF

#9D64CF is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.0% C 0.164 H 306.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9D64CF
RGBrgb(157, 100, 207)
HSLhsl(272, 53%, 60%)
HSVhsv(272, 52%, 81%)
CMYKcmyk(24.2%, 51.7%, 0%, 18.8%)
CIE-LABlab(52.72, 43.19, -46.82)
CIE-LCHlch(52.72, 63.69, 312.69°)
OKLaboklab(61.04% 0.0982 -0.1314)
OKLCHoklch(61.04% 0.164 306.8)
XYZxyz(29.7220, 20.7877, 61.4660)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64CF #96CF64
analogous
#6864CF #9D64CF #CF64CB
triadic
#9D64CF #CF9D64 #64CF9D
tetradic
#9D64CF #CF6864 #96CF64 #64CBCF
square
#9D64CF #CF6864 #96CF64 #64CBCF
split-complementary
#9D64CF #CBCF64 #64CF68
monochromatic
#5F2C8D #7F3ABC #9D64CF #BB93DD #D8C1EC

Accessibility & contrast

On white

4.07
#9D64CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9D64CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64CF#FFFFFF#000000##000000
##9D64CF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#957790
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d64cf;
/* rgb */ color: rgb(157, 100, 207);
/* oklch */ color: oklch(61.0% 0.164 306.8);
Tailwind
colors: {
  custom: {
    50: '#bc92de',
    500: '#9d64cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d64cf;
$custom-light: #bc92de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64cf",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 271.963,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.16401,
    "h": 306.8
  },
  "luminance": 0.20787
}

Semantic roles & 50–950 ramp

primary
#9D64CF
secondary
#C6DCB3
accent
#C0256E
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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