#9D64B2#9D64B2

#9D64B2 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 59.5% C 0.130 H 316.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9D64B2
RGBrgb(157, 100, 178)
HSLhsl(284, 34%, 55%)
HSVhsv(284, 44%, 70%)
CMYKcmyk(11.8%, 43.8%, 0%, 30.2%)
CIE-LABlab(51.26, 36.70, -32.42)
CIE-LCHlch(51.26, 48.97, 318.54°)
OKLaboklab(59.48% 0.0944 -0.0896)
OKLCHoklch(59.48% 0.13 316.5)
XYZxyz(26.4965, 19.4975, 44.4785)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D64B2 #79B264
analogous
#7664B2 #9D64B2 #B264A0
triadic
#9D64B2 #B29D64 #64B29D
tetradic
#9D64B2 #B27664 #79B264 #64A0B2
square
#9D64B2 #B27664 #79B264 #64A0B2
split-complementary
#9D64B2 #A0B264 #64B276
monochromatic
#5A3468 #7D4891 #9D64B2 #B78DC6 #D1B6DB

Accessibility & contrast

On white

4.29
#9D64B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9D64B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D64B2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D64B2#FFFFFF#000000##000000
##9D64B21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#9C6F82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9d64b2;
/* rgb */ color: rgb(157, 100, 178);
/* oklch */ color: oklch(59.5% 0.130 316.5);
Tailwind
colors: {
  custom: {
    50: '#bb91c9',
    500: '#9d64b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d64b2;
$custom-light: #bb91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d64b2",
  "rgb": {
    "r": 157,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 283.846,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.13014,
    "h": 316.5
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#9D64B2
secondary
#B1C9A8
accent
#CA5E7B
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #9D64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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