#964FBC#964FBC

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

Color values

HEX#964FBC
RGBrgb(150, 79, 188)
HSLhsl(279, 45%, 52%)
HSVhsv(279, 58%, 74%)
CMYKcmyk(20.2%, 58%, 0%, 26.3%)
CIE-LABlab(46.59, 48.21, -45.68)
CIE-LCHlch(46.59, 66.41, 316.55°)
OKLaboklab(56.01% 0.1161 -0.1281)
OKLCHoklch(56.01% 0.173 312.2)
XYZxyz(24.4491, 15.7074, 49.3111)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FBC #75BC4F
analogous
#604FBC #964FBC #BC4FAB
triadic
#964FBC #BC964F #4FBC96
tetradic
#964FBC #BC604F #75BC4F #4FABBC
square
#964FBC #BC604F #75BC4F #4FABBC
split-complementary
#964FBC #ABBC4F #4FBC60
monochromatic
#522869 #753995 #964FBC #B07BCD #CBA8DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##964FBC#FFFFFF#000000##FFFFFF
##964FBC1.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)
#2D6BC0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#92627E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #964fbc;
/* rgb */ color: rgb(150, 79, 188);
/* oklch */ color: oklch(56.0% 0.173 312.2);
Tailwind
colors: {
  custom: {
    50: '#b884d1',
    500: '#964fbc',
    950: '#000000',
  },
}
SCSS
$custom: #964fbc;
$custom-light: #b884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#964fbc",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 279.083,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56005,
    "c": 0.17293,
    "h": 312.2
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#964FBC
secondary
#ACCB9C
accent
#D55380
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #964FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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