#9D64D6#9D64D6

#9D64D6 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.172 H 305.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9D64D6
RGBrgb(157, 100, 214)
HSLhsl(270, 58%, 62%)
HSVhsv(270, 53%, 84%)
CMYKcmyk(26.6%, 53.3%, 0%, 16.1%)
CIE-LABlab(53.10, 44.83, -50.19)
CIE-LCHlch(53.10, 67.29, 311.77°)
OKLaboklab(61.45% 0.0987 -0.1412)
OKLCHoklch(61.45% 0.172 305)
XYZxyz(30.5968, 21.1376, 66.0734)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64D6 #9DD664
analogous
#6464D6 #9D64D6 #D664D6
triadic
#9D64D6 #D69D64 #64D69D
tetradic
#9D64D6 #D66464 #9DD664 #64D6D6
square
#9D64D6 #D66464 #9DD664 #64D6D6
split-complementary
#9D64D6 #D6D664 #64D664
monochromatic
#602898 #7E35C8 #9D64D6 #BC94E3 #DAC5F0

Accessibility & contrast

On white

4.02
#9D64D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#9D64D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64D6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64D6#FFFFFF#000000##000000
##9D64D61.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7DDA
Deuteranopia (green-blind)
#507FD3
Tritanopia (blue-blind)
#937994
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d64d6;
/* rgb */ color: rgb(157, 100, 214);
/* oklch */ color: oklch(61.4% 0.172 305.0);
Tailwind
colors: {
  custom: {
    50: '#bd92e3',
    500: '#9d64d6',
    950: '#000000',
  },
}
SCSS
$custom: #9d64d6;
$custom-light: #bd92e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64d6",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 214
  },
  "hsl": {
    "h": 270,
    "s": 58.163,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61446,
    "c": 0.17229,
    "h": 305
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#9D64D6
secondary
#CBE0B6
accent
#C62073
background
#FBF9FE
surface
#F7F1FC
border
#D0CBD5
text
#120D15
muted
#817E84

Preview Lab

Preview with #9D64D6

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

Preview Lab → · Contrast checker → · Palette generator →

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