#964AC2#964AC2

#964AC2 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.187 H 311.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#964AC2
RGBrgb(150, 74, 194)
HSLhsl(278, 50%, 53%)
HSVhsv(278, 62%, 76%)
CMYKcmyk(22.7%, 61.9%, 0%, 23.9%)
CIE-LABlab(46.01, 52.05, -50.09)
CIE-LCHlch(46.01, 72.23, 316.10°)
OKLaboklab(55.7% 0.1225 -0.141)
OKLCHoklch(55.7% 0.187 311)
XYZxyz(24.7622, 15.2772, 52.6728)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964AC2 #76C24A
analogous
#5A4AC2 #964AC2 #C24AB2
triadic
#964AC2 #C2964A #4AC296
tetradic
#964AC2 #C25A4A #76C24A #4AB2C2
square
#964AC2 #C25A4A #76C24A #4AB2C2
split-complementary
#964AC2 #B2C24A #4AC25A
monochromatic
#52256D #75349B #964AC2 #B178D1 #CBA6E1

Accessibility & contrast

On white

5.18
#964AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#964AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964AC2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964AC2#FFFFFF#000000##FFFFFF
##964AC21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#91617F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #964ac2;
/* rgb */ color: rgb(150, 74, 194);
/* oklch */ color: oklch(55.7% 0.187 311.0);
Tailwind
colors: {
  custom: {
    50: '#b881d5',
    500: '#964ac2',
    950: '#000000',
  },
}
SCSS
$custom: #964ac2;
$custom-light: #b881d5;
$custom-dark: #000000;
JSON
{
  "hex": "#964ac2",
  "rgb": {
    "r": 150,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 278,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55699,
    "c": 0.18676,
    "h": 311
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

primary
#964AC2
secondary
#ADCE9A
accent
#D94F81
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #964AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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