#964CBF#964CBF

#964CBF is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.181 H 311.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#964CBF
RGBrgb(150, 76, 191)
HSLhsl(279, 47%, 52%)
HSVhsv(279, 60%, 75%)
CMYKcmyk(21.5%, 60.2%, 0%, 25.1%)
CIE-LABlab(46.20, 50.39, -48.05)
CIE-LCHlch(46.20, 69.63, 316.37°)
OKLaboklab(55.78% 0.12 -0.135)
OKLCHoklch(55.78% 0.181 311.6)
XYZxyz(24.5644, 15.4151, 50.9615)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CBF #75BF4C
analogous
#5D4CBF #964CBF #BF4CAE
triadic
#964CBF #BF964C #4CBF96
tetradic
#964CBF #BF5D4C #75BF4C #4CAEBF
square
#964CBF #BF5D4C #75BF4C #4CAEBF
split-complementary
#964CBF #AEBF4C #4CBF5D
monochromatic
#52266B #753698 #964CBF #B079CF #CBA6DF

Accessibility & contrast

On white

5.14
#964CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#964CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CBF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CBF#FFFFFF#000000##FFFFFF
##964CBF1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#91617E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #964cbf;
/* rgb */ color: rgb(150, 76, 191);
/* oklch */ color: oklch(55.8% 0.181 311.6);
Tailwind
colors: {
  custom: {
    50: '#b882d3',
    500: '#964cbf',
    950: '#000000',
  },
}
SCSS
$custom: #964cbf;
$custom-light: #b882d3;
$custom-dark: #000000;
JSON
{
  "hex": "#964cbf",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 278.609,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.18067,
    "h": 311.6
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#964CBF
secondary
#ACCC9A
accent
#D75181
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #964CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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