#964CB2#964CB2

#964CB2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.0% C 0.167 H 315.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#964CB2
RGBrgb(150, 76, 178)
HSLhsl(284, 40%, 50%)
HSVhsv(284, 57%, 70%)
CMYKcmyk(15.7%, 57.3%, 0%, 30.2%)
CIE-LABlab(45.45, 47.58, -41.64)
CIE-LCHlch(45.45, 63.23, 318.81°)
OKLaboklab(54.99% 0.1197 -0.1163)
OKLCHoklch(54.99% 0.167 315.8)
XYZxyz(23.1968, 14.8680, 43.7587)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CB2 #68B24C
analogous
#634CB2 #964CB2 #B24C9B
triadic
#964CB2 #B2964C #4CB296
tetradic
#964CB2 #B2634C #68B24C #4C9BB2
square
#964CB2 #B2634C #68B24C #4C9BB2
split-complementary
#964CB2 #9BB24C #4CB263
monochromatic
#4E275C #723A87 #964CB2 #AF76C5 #C8A1D7

Accessibility & contrast

On white

5.29
#964CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#964CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CB2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CB2#FFFFFF#000000##FFFFFF
##964CB21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#4C6EAF
Tritanopia (blue-blind)
#945D78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #964cb2;
/* rgb */ color: rgb(150, 76, 178);
/* oklch */ color: oklch(55.0% 0.167 315.8);
Tailwind
colors: {
  custom: {
    50: '#b782c9',
    500: '#964cb2',
    950: '#000000',
  },
}
SCSS
$custom: #964cb2;
$custom-light: #b782c9;
$custom-dark: #000000;
JSON
{
  "hex": "#964cb2",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 283.529,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.16689,
    "h": 315.8
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#964CB2
secondary
#A2C496
accent
#D05879
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #964CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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