#9D64CE#9D64CE

#9D64CE is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.0% C 0.163 H 307.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9D64CE
RGBrgb(157, 100, 206)
HSLhsl(272, 52%, 60%)
HSVhsv(272, 51%, 81%)
CMYKcmyk(23.8%, 51.5%, 0%, 19.2%)
CIE-LABlab(52.66, 42.95, -46.33)
CIE-LCHlch(52.66, 63.18, 312.83°)
OKLaboklab(60.98% 0.0981 -0.1299)
OKLCHoklch(60.98% 0.163 307.1)
XYZxyz(29.6001, 20.7390, 60.8242)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64CE #95CE64
analogous
#6864CE #9D64CE #CE64CA
triadic
#9D64CE #CE9D64 #64CE9D
tetradic
#9D64CE #CE6864 #95CE64 #64CACE
square
#9D64CE #CE6864 #95CE64 #64CACE
split-complementary
#9D64CE #CACE64 #64CE68
monochromatic
#5F2C8C #7F3BBA #9D64CE #BA92DD #D8C1EB

Accessibility & contrast

On white

4.08
#9D64CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9D64CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64CE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64CE#FFFFFF#000000##000000
##9D64CE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#967790
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d64ce;
/* rgb */ color: rgb(157, 100, 206);
/* oklch */ color: oklch(61.0% 0.163 307.1);
Tailwind
colors: {
  custom: {
    50: '#bc92dd',
    500: '#9d64ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d64ce;
$custom-light: #bc92dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64ce",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 272.264,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.16283,
    "h": 307.1
  },
  "luminance": 0.20739
}

Semantic roles & 50–950 ramp

primary
#9D64CE
secondary
#C5DBB2
accent
#DB4C8F
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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