#9D64D2#9D64D2

#9D64D2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.168 H 306.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9D64D2
RGBrgb(157, 100, 210)
HSLhsl(271, 55%, 61%)
HSVhsv(271, 52%, 82%)
CMYKcmyk(25.2%, 52.4%, 0%, 17.6%)
CIE-LABlab(52.88, 43.89, -48.27)
CIE-LCHlch(52.88, 65.24, 312.28°)
OKLaboklab(61.21% 0.0984 -0.1356)
OKLCHoklch(61.21% 0.168 306)
XYZxyz(30.0922, 20.9358, 63.4160)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64D2 #99D264
analogous
#6664D2 #9D64D2 #D264D0
triadic
#9D64D2 #D29D64 #64D29D
tetradic
#9D64D2 #D26664 #99D264 #64D0D2
square
#9D64D2 #D26664 #99D264 #64D0D2
split-complementary
#9D64D2 #D0D264 #64D266
monochromatic
#602A91 #7F38C1 #9D64D2 #BB93E0 #D9C3EE

Accessibility & contrast

On white

4.05
#9D64D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9D64D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64D2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64D2#FFFFFF#000000##000000
##9D64D21.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#537FCF
Tritanopia (blue-blind)
#947892
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9d64d2;
/* rgb */ color: rgb(157, 100, 210);
/* oklch */ color: oklch(61.2% 0.168 306.0);
Tailwind
colors: {
  custom: {
    50: '#bd92e0',
    500: '#9d64d2',
    950: '#000000',
  },
}
SCSS
$custom: #9d64d2;
$custom-light: #bd92e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64d2",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 210
  },
  "hsl": {
    "h": 271.091,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.16756,
    "h": 306
  },
  "luminance": 0.20936
}

Semantic roles & 50–950 ramp

primary
#9D64D2
secondary
#C8DEB4
accent
#C32370
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64D2

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

Preview Lab → · Contrast checker → · Palette generator →

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