#964EA5#964EA5

#964EA5 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.5% C 0.150 H 320.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#964EA5
RGBrgb(150, 78, 165)
HSLhsl(290, 36%, 48%)
HSVhsv(290, 53%, 65%)
CMYKcmyk(9.1%, 52.7%, 0%, 35.3%)
CIE-LABlab(45.15, 43.84, -34.45)
CIE-LCHlch(45.15, 55.76, 321.84°)
OKLaboklab(54.55% 0.1158 -0.0955)
OKLCHoklch(54.55% 0.15 320.5)
XYZxyz(22.0928, 14.6503, 37.2541)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964EA5 #5DA54E
analogous
#6A4EA5 #964EA5 #A54E88
triadic
#964EA5 #A5964E #4EA596
tetradic
#964EA5 #A56A4E #5DA54E #4E88A5
square
#964EA5 #A56A4E #5DA54E #4E88A5
split-complementary
#964EA5 #88A54E #4EA56A
monochromatic
#4A2752 #703A7B #964EA5 #B073BD #C89DD1

Accessibility & contrast

On white

5.34
#964EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#964EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964EA5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964EA5#FFFFFF#000000##FFFFFF
##964EA51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#556EA3
Tritanopia (blue-blind)
#975A72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #964ea5;
/* rgb */ color: rgb(150, 78, 165);
/* oklch */ color: oklch(54.5% 0.150 320.5);
Tailwind
colors: {
  custom: {
    50: '#b782c0',
    500: '#964ea5',
    950: '#000000',
  },
}
SCSS
$custom: #964ea5;
$custom-light: #b782c0;
$custom-dark: #000000;
JSON
{
  "hex": "#964ea5",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 289.655,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54548,
    "c": 0.15007,
    "h": 320.5
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#964EA5
secondary
#99BD91
accent
#CC5C6F
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #964EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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