#964BD9#964BD9

#964BD9 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.210 H 304.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#964BD9
RGBrgb(150, 75, 217)
HSLhsl(272, 65%, 57%)
HSVhsv(272, 65%, 85%)
CMYKcmyk(30.9%, 65.4%, 0%, 14.9%)
CIE-LABlab(47.66, 56.78, -60.67)
CIE-LCHlch(47.66, 83.09, 313.10°)
OKLaboklab(57.36% 0.12 -0.1721)
OKLCHoklch(57.36% 0.21 304.9)
XYZxyz(27.6154, 16.5261, 67.3672)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964BD9 #8ED94B
analogous
#4F4BD9 #964BD9 #D94BD5
triadic
#964BD9 #D9964B #4BD996
tetradic
#964BD9 #D94F4B #8ED94B #4BD5D9
square
#964BD9 #D94F4B #8ED94B #4BD5D9
split-complementary
#964BD9 #D5D94B #4BD94F
monochromatic
#581E8C #7828BF #964BD9 #B37EE4 #D1B0EE

Accessibility & contrast

On white

4.88
#964BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#964BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964BD9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964BD9#FFFFFF#000000##FFFFFF
##964BD91.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#8A6A8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #964bd9;
/* rgb */ color: rgb(150, 75, 217);
/* oklch */ color: oklch(57.4% 0.210 304.9);
Tailwind
colors: {
  custom: {
    50: '#ba82e6',
    500: '#964bd9',
    950: '#000000',
  },
}
SCSS
$custom: #964bd9;
$custom-light: #ba82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#964bd9",
  "rgb": {
    "r": 150,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 271.69,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57357,
    "c": 0.20977,
    "h": 304.9
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#964BD9
secondary
#BEDDA3
accent
#E8408F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964BD9

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

Preview Lab → · Contrast checker → · Palette generator →

#964BD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva