#964EBF#964EBF

#964EBF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.178 H 311.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#964EBF
RGBrgb(150, 78, 191)
HSLhsl(278, 47%, 53%)
HSVhsv(278, 59%, 75%)
CMYKcmyk(21.5%, 59.2%, 0%, 25.1%)
CIE-LABlab(46.57, 49.39, -47.45)
CIE-LCHlch(46.57, 68.49, 316.15°)
OKLaboklab(56.05% 0.1175 -0.1333)
OKLCHoklch(56.05% 0.178 311.4)
XYZxyz(24.7043, 15.6950, 51.0082)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964EBF #77BF4E
analogous
#5D4EBF #964EBF #BF4EB0
triadic
#964EBF #BF964E #4EBF96
tetradic
#964EBF #BF5D4E #77BF4E #4EB0BF
square
#964EBF #BF5D4E #77BF4E #4EB0BF
split-complementary
#964EBF #B0BF4E #4EBF5D
monochromatic
#53276C #753799 #964EBF #B17BCF #CBA8E0

Accessibility & contrast

On white

5.07
#964EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#964EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964EBF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964EBF#FFFFFF#000000##FFFFFF
##964EBF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#91637F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #964ebf;
/* rgb */ color: rgb(150, 78, 191);
/* oklch */ color: oklch(56.0% 0.178 311.4);
Tailwind
colors: {
  custom: {
    50: '#b883d3',
    500: '#964ebf',
    950: '#000000',
  },
}
SCSS
$custom: #964ebf;
$custom-light: #b883d3;
$custom-dark: #000000;
JSON
{
  "hex": "#964ebf",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 278.23,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.1777,
    "h": 311.4
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#964EBF
secondary
#AECD9C
accent
#D75182
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #964EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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