#9D64C2#9D64C2

#9D64C2 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.3% C 0.149 H 310.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9D64C2
RGBrgb(157, 100, 194)
HSLhsl(276, 44%, 58%)
HSVhsv(276, 48%, 76%)
CMYKcmyk(19.1%, 48.5%, 0%, 23.9%)
CIE-LABlab(52.04, 40.21, -40.45)
CIE-LCHlch(52.04, 57.03, 314.83°)
OKLaboklab(60.31% 0.0969 -0.1128)
OKLCHoklch(60.31% 0.149 310.6)
XYZxyz(28.1976, 20.1780, 53.4378)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64C2 #89C264
analogous
#6E64C2 #9D64C2 #C264B8
triadic
#9D64C2 #C29D64 #64C29D
tetradic
#9D64C2 #C26E64 #89C264 #64B8C2
square
#9D64C2 #C26E64 #89C264 #64B8C2
split-complementary
#9D64C2 #B8C264 #64C26E
monochromatic
#5E307B #7F42A7 #9D64C2 #B990D3 #D5BCE5

Accessibility & contrast

On white

4.17
#9D64C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9D64C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64C2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64C2#FFFFFF#000000##000000
##9D64C21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#5D7DC0
Tritanopia (blue-blind)
#99738A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d64c2;
/* rgb */ color: rgb(157, 100, 194);
/* oklch */ color: oklch(60.3% 0.149 310.6);
Tailwind
colors: {
  custom: {
    50: '#bc92d5',
    500: '#9d64c2',
    950: '#000000',
  },
}
SCSS
$custom: #9d64c2;
$custom-light: #bc92d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64c2",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 194
  },
  "hsl": {
    "h": 276.383,
    "s": 43.519,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.1487,
    "h": 310.6
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#9D64C2
secondary
#BDD4AE
accent
#D35586
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #9D64C2

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

Preview Lab → · Contrast checker → · Palette generator →

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