#964ACC#964ACC

#964ACC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.197 H 308.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#964ACC
RGBrgb(150, 74, 204)
HSLhsl(275, 56%, 55%)
HSVhsv(275, 64%, 80%)
CMYKcmyk(26.5%, 63.7%, 0%, 20%)
CIE-LABlab(46.63, 54.28, -54.87)
CIE-LCHlch(46.63, 77.18, 314.69°)
OKLaboklab(56.35% 0.1221 -0.155)
OKLCHoklch(56.35% 0.197 308.2)
XYZxyz(25.9233, 15.7416, 58.7878)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964ACC #80CC4A
analogous
#554ACC #964ACC #CC4AC1
triadic
#964ACC #CC964A #4ACC96
tetradic
#964ACC #CC554A #80CC4A #4AC1CC
square
#964ACC #CC554A #80CC4A #4AC1CC
split-complementary
#964ACC #C1CC4A #4ACC55
monochromatic
#552279 #7730A9 #964ACC #B27AD9 #CDA9E7

Accessibility & contrast

On white

5.06
#964ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#964ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964ACC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964ACC#FFFFFF#000000##FFFFFF
##964ACC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#336FC9
Tritanopia (blue-blind)
#8E6584
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #964acc;
/* rgb */ color: rgb(150, 74, 204);
/* oklch */ color: oklch(56.3% 0.197 308.2);
Tailwind
colors: {
  custom: {
    50: '#b981dc',
    500: '#964acc',
    950: '#000000',
  },
}
SCSS
$custom: #964acc;
$custom-light: #b981dc;
$custom-dark: #000000;
JSON
{
  "hex": "#964acc",
  "rgb": {
    "r": 150,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 275.077,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.19733,
    "h": 308.2
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#964ACC
secondary
#B4D49D
accent
#DF4887
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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