#964EBD#964EBD

#964EBD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.176 H 312.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#964EBD
RGBrgb(150, 78, 189)
HSLhsl(279, 46%, 52%)
HSVhsv(279, 59%, 74%)
CMYKcmyk(20.6%, 58.7%, 0%, 25.9%)
CIE-LABlab(46.46, 48.94, -46.47)
CIE-LCHlch(46.46, 67.49, 316.48°)
OKLaboklab(55.93% 0.1175 -0.1305)
OKLCHoklch(55.93% 0.176 312)
XYZxyz(24.4857, 15.6075, 49.8569)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964EBD #75BD4E
analogous
#5F4EBD #964EBD #BD4EAC
triadic
#964EBD #BD964E #4EBD96
tetradic
#964EBD #BD5F4E #75BD4E #4EACBD
square
#964EBD #BD5F4E #75BD4E #4EACBD
split-complementary
#964EBD #ACBD4E #4EBD5F
monochromatic
#522769 #753896 #964EBD #B07BCE #CBA7DE

Accessibility & contrast

On white

5.10
#964EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#964EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964EBD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964EBD#FFFFFF#000000##FFFFFF
##964EBD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC1
Deuteranopia (green-blind)
#4670BA
Tritanopia (blue-blind)
#92627E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #964ebd;
/* rgb */ color: rgb(150, 78, 189);
/* oklch */ color: oklch(55.9% 0.176 312.0);
Tailwind
colors: {
  custom: {
    50: '#b883d1',
    500: '#964ebd',
    950: '#000000',
  },
}
SCSS
$custom: #964ebd;
$custom-light: #b883d1;
$custom-dark: #000000;
JSON
{
  "hex": "#964ebd",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 278.919,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55927,
    "c": 0.17554,
    "h": 312
  },
  "luminance": 0.15607
}

Semantic roles & 50–950 ramp

primary
#964EBD
secondary
#ACCC9B
accent
#D55280
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #964EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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