#9D64C8#9D64C8

#9D64C8 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.6% C 0.156 H 308.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9D64C8
RGBrgb(157, 100, 200)
HSLhsl(274, 48%, 59%)
HSVhsv(274, 50%, 78%)
CMYKcmyk(21.5%, 50%, 0%, 21.6%)
CIE-LABlab(52.35, 41.57, -43.41)
CIE-LCHlch(52.35, 60.10, 313.76°)
OKLaboklab(60.64% 0.0976 -0.1214)
OKLCHoklch(60.64% 0.156 308.8)
XYZxyz(28.8851, 20.4530, 57.0585)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64C8 #8FC864
analogous
#6B64C8 #9D64C8 #C864C1
triadic
#9D64C8 #C89D64 #64C89D
tetradic
#9D64C8 #C86B64 #8FC864 #64C1C8
square
#9D64C8 #C86B64 #8FC864 #64C1C8
split-complementary
#9D64C8 #C1C864 #64C86B
monochromatic
#5F2F83 #7F3FB0 #9D64C8 #BA91D8 #D6BEE8

Accessibility & contrast

On white

4.13
#9D64C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#9D64C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64C8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64C8#FFFFFF#000000##000000
##9D64C81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#5A7EC5
Tritanopia (blue-blind)
#97758D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9d64c8;
/* rgb */ color: rgb(157, 100, 200);
/* oklch */ color: oklch(60.6% 0.156 308.8);
Tailwind
colors: {
  custom: {
    50: '#bc92d9',
    500: '#9d64c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d64c8;
$custom-light: #bc92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64c8",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 274.2,
    "s": 47.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60643,
    "c": 0.15575,
    "h": 308.8
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#9D64C8
secondary
#C1D8B0
accent
#D7518A
background
#FBF9FD
surface
#F7F1FA
border
#D0CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D64C8

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

Preview Lab → · Contrast checker → · Palette generator →

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