#9D64BC#9D64BC

#9D64BC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.0% C 0.142 H 312.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9D64BC
RGBrgb(157, 100, 188)
HSLhsl(279, 40%, 56%)
HSVhsv(279, 47%, 74%)
CMYKcmyk(16.5%, 46.8%, 0%, 26.3%)
CIE-LABlab(51.74, 38.87, -37.47)
CIE-LCHlch(51.74, 53.99, 316.05°)
OKLaboklab(60% 0.096 -0.1042)
OKLCHoklch(60% 0.142 312.7)
XYZxyz(27.5374, 19.9139, 49.9603)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64BC #83BC64
analogous
#7164BC #9D64BC #BC64AF
triadic
#9D64BC #BC9D64 #64BC9D
tetradic
#9D64BC #BC7164 #83BC64 #64AFBC
square
#9D64BC #BC7164 #83BC64 #64AFBC
split-complementary
#9D64BC #AFBC64 #64BC71
monochromatic
#5C3274 #7F449E #9D64BC #B88FCE #D3B9E1

Accessibility & contrast

On white

4.21
#9D64BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9D64BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64BC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64BC#FFFFFF#000000##000000
##9D64BC1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#9A7187
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d64bc;
/* rgb */ color: rgb(157, 100, 188);
/* oklch */ color: oklch(60.0% 0.142 312.7);
Tailwind
colors: {
  custom: {
    50: '#bc91d0',
    500: '#9d64bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d64bc;
$custom-light: #bc91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64bc",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 278.864,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59995,
    "c": 0.14168,
    "h": 312.7
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#9D64BC
secondary
#B9D0AC
accent
#D05882
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9D64BC

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

Preview Lab → · Contrast checker → · Palette generator →

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