#964CBA#964CBA

#964CBA is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.5% C 0.175 H 313.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#964CBA
RGBrgb(150, 76, 186)
HSLhsl(280, 44%, 51%)
HSVhsv(280, 59%, 73%)
CMYKcmyk(19.4%, 59.1%, 0%, 27.1%)
CIE-LABlab(45.91, 49.30, -45.60)
CIE-LCHlch(45.91, 67.16, 317.23°)
OKLaboklab(55.47% 0.12 -0.1279)
OKLCHoklch(55.47% 0.175 313.2)
XYZxyz(24.0235, 15.1987, 48.1130)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CBA #70BA4C
analogous
#5F4CBA #964CBA #BA4CA7
triadic
#964CBA #BA964C #4CBA96
tetradic
#964CBA #BA5F4C #70BA4C #4CA7BA
square
#964CBA #BA5F4C #70BA4C #4CA7BA
split-complementary
#964CBA #A7BA4C #4CBA5F
monochromatic
#502765 #743891 #964CBA #B078CB #CAA4DC

Accessibility & contrast

On white

5.20
#964CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#964CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CBA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CBA#FFFFFF#000000##FFFFFF
##964CBA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BD
Deuteranopia (green-blind)
#476EB7
Tritanopia (blue-blind)
#92607C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #964cba;
/* rgb */ color: rgb(150, 76, 186);
/* oklch */ color: oklch(55.5% 0.175 313.2);
Tailwind
colors: {
  custom: {
    50: '#b882cf',
    500: '#964cba',
    950: '#000000',
  },
}
SCSS
$custom: #964cba;
$custom-light: #b882cf;
$custom-dark: #000000;
JSON
{
  "hex": "#964cba",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 280.364,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.17535,
    "h": 313.2
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#964CBA
secondary
#A9C999
accent
#D4547E
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #964CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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