#964FBB#964FBB

#964FBB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.172 H 312.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#964FBB
RGBrgb(150, 79, 187)
HSLhsl(279, 44%, 52%)
HSVhsv(279, 58%, 73%)
CMYKcmyk(19.8%, 57.8%, 0%, 26.7%)
CIE-LABlab(46.53, 47.99, -45.19)
CIE-LCHlch(46.53, 65.92, 316.72°)
OKLaboklab(55.95% 0.1161 -0.1267)
OKLCHoklch(55.95% 0.172 312.5)
XYZxyz(24.3417, 15.6645, 48.7453)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FBB #74BB4F
analogous
#604FBB #964FBB #BB4FAA
triadic
#964FBB #BB964F #4FBB96
tetradic
#964FBB #BB604F #74BB4F #4FAABB
square
#964FBB #BB604F #74BB4F #4FAABB
split-complementary
#964FBB #AABB4F #4FBB60
monochromatic
#522868 #753994 #964FBB #B07BCC #CBA7DD

Accessibility & contrast

On white

5.08
#964FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#964FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964FBB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FBB#FFFFFF#000000##FFFFFF
##964FBB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#92627D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #964fbb;
/* rgb */ color: rgb(150, 79, 187);
/* oklch */ color: oklch(55.9% 0.172 312.5);
Tailwind
colors: {
  custom: {
    50: '#b884d0',
    500: '#964fbb',
    950: '#000000',
  },
}
SCSS
$custom: #964fbb;
$custom-light: #b884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#964fbb",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 279.444,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.17186,
    "h": 312.5
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#964FBB
secondary
#ABCA9B
accent
#D45480
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #964FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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