#9D64BD#9D64BD

#9D64BD is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.0% C 0.143 H 312.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9D64BD
RGBrgb(157, 100, 189)
HSLhsl(278, 40%, 57%)
HSVhsv(278, 47%, 74%)
CMYKcmyk(16.9%, 47.1%, 0%, 25.9%)
CIE-LABlab(51.79, 39.09, -37.97)
CIE-LCHlch(51.79, 54.49, 315.84°)
OKLaboklab(60.05% 0.0962 -0.1056)
OKLCHoklch(60.05% 0.143 312.3)
XYZxyz(27.6455, 19.9571, 50.5300)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64BD #84BD64
analogous
#7164BD #9D64BD #BD64B1
triadic
#9D64BD #BD9D64 #64BD9D
tetradic
#9D64BD #BD7164 #84BD64 #64B1BD
square
#9D64BD #BD7164 #84BD64 #64B1BD
split-complementary
#9D64BD #B1BD64 #64BD71
monochromatic
#5D3275 #7F44A0 #9D64BD #B88FCF #D3BAE2

Accessibility & contrast

On white

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

On black

4.99
#9D64BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64BD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64BD#FFFFFF#000000##000000
##9D64BD1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#9A7288
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d64bd;
/* rgb */ color: rgb(157, 100, 189);
/* oklch */ color: oklch(60.0% 0.143 312.3);
Tailwind
colors: {
  custom: {
    50: '#bc92d1',
    500: '#9d64bd',
    950: '#000000',
  },
}
SCSS
$custom: #9d64bd;
$custom-light: #bc92d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64bd",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 189
  },
  "hsl": {
    "h": 278.427,
    "s": 40.271,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.14285,
    "h": 312.3
  },
  "luminance": 0.19957
}

Semantic roles & 50–950 ramp

primary
#9D64BD
secondary
#B9D1AC
accent
#D05883
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #9D64BD

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

Preview Lab → · Contrast checker → · Palette generator →

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