#964CD9#964CD9

#964CD9 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.208 H 304.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#964CD9
RGBrgb(150, 76, 217)
HSLhsl(271, 65%, 57%)
HSVhsv(271, 65%, 85%)
CMYKcmyk(30.9%, 65%, 0%, 14.9%)
CIE-LABlab(47.83, 56.30, -60.39)
CIE-LCHlch(47.83, 82.56, 312.99°)
OKLaboklab(57.48% 0.1189 -0.1713)
OKLCHoklch(57.48% 0.208 304.8)
XYZxyz(27.6837, 16.6628, 67.3900)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CD9 #8FD94C
analogous
#4F4CD9 #964CD9 #D94CD6
triadic
#964CD9 #D9964C #4CD996
tetradic
#964CD9 #D94F4C #8FD94C #4CD6D9
square
#964CD9 #D94F4C #8FD94C #4CD6D9
split-complementary
#964CD9 #D6D94C #4CD94F
monochromatic
#581E8D #7829BF #964CD9 #B47EE4 #D1B1EE

Accessibility & contrast

On white

4.85
#964CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#964CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CD9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CD9#FFFFFF#000000##FFFFFF
##964CD91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#2272D6
Tritanopia (blue-blind)
#8A6B8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #964cd9;
/* rgb */ color: rgb(150, 76, 217);
/* oklch */ color: oklch(57.5% 0.208 304.8);
Tailwind
colors: {
  custom: {
    50: '#b983e6',
    500: '#964cd9',
    950: '#000000',
  },
}
SCSS
$custom: #964cd9;
$custom-light: #b983e6;
$custom-dark: #000000;
JSON
{
  "hex": "#964cd9",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 271.489,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57483,
    "c": 0.20847,
    "h": 304.8
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#964CD9
secondary
#BFDDA4
accent
#E84090
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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