#9D64C0#9D64C0

#9D64C0 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.2% C 0.146 H 311.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9D64C0
RGBrgb(157, 100, 192)
HSLhsl(277, 42%, 57%)
HSVhsv(277, 48%, 75%)
CMYKcmyk(18.2%, 47.9%, 0%, 24.7%)
CIE-LABlab(51.94, 39.76, -39.46)
CIE-LCHlch(51.94, 56.02, 315.22°)
OKLaboklab(60.21% 0.0966 -0.1099)
OKLCHoklch(60.21% 0.146 311.3)
XYZxyz(27.9745, 20.0887, 52.2628)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64C0 #87C064
analogous
#6F64C0 #9D64C0 #C064B5
triadic
#9D64C0 #C09D64 #64C09D
tetradic
#9D64C0 #C06F64 #87C064 #64B5C0
square
#9D64C0 #C06F64 #87C064 #64B5C0
split-complementary
#9D64C0 #B5C064 #64C06F
monochromatic
#5D3179 #7F43A4 #9D64C0 #B990D2 #D4BBE3

Accessibility & contrast

On white

4.19
#9D64C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#9D64C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64C0
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64C0#FFFFFF#000000##000000
##9D64C01.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F79C3
Deuteranopia (green-blind)
#5F7DBE
Tritanopia (blue-blind)
#997389
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9d64c0;
/* rgb */ color: rgb(157, 100, 192);
/* oklch */ color: oklch(60.2% 0.146 311.3);
Tailwind
colors: {
  custom: {
    50: '#bc92d3',
    500: '#9d64c0',
    950: '#000000',
  },
}
SCSS
$custom: #9d64c0;
$custom-light: #bc92d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64c0",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 192
  },
  "hsl": {
    "h": 277.174,
    "s": 42.202,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.14635,
    "h": 311.3
  },
  "luminance": 0.20088
}

Semantic roles & 50–950 ramp

primary
#9D64C0
secondary
#BBD3AD
accent
#D25685
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #9D64C0

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

Preview Lab → · Contrast checker → · Palette generator →

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