#964DD9#964DD9

#964DD9 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.207 H 304.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#964DD9
RGBrgb(150, 77, 217)
HSLhsl(271, 65%, 58%)
HSVhsv(271, 65%, 85%)
CMYKcmyk(30.9%, 64.5%, 0%, 14.9%)
CIE-LABlab(48.01, 55.81, -60.10)
CIE-LCHlch(48.01, 82.02, 312.88°)
OKLaboklab(57.61% 0.1178 -0.1704)
OKLCHoklch(57.61% 0.207 304.6)
XYZxyz(27.7531, 16.8017, 67.4131)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DD9 #90D94D
analogous
#504DD9 #964DD9 #D94DD6
triadic
#964DD9 #D9964D #4DD996
tetradic
#964DD9 #D9504D #90D94D #4DD6D9
square
#964DD9 #D9504D #90D94D #4DD6D9
split-complementary
#964DD9 #D6D94D #4DD950
monochromatic
#581E8D #7829C0 #964DD9 #B47FE4 #D2B2EF

Accessibility & contrast

On white

4.82
#964DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#964DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964DD9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964DD9#FFFFFF#000000##FFFFFF
##964DD91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #964dd9;
/* rgb */ color: rgb(150, 77, 217);
/* oklch */ color: oklch(57.6% 0.207 304.6);
Tailwind
colors: {
  custom: {
    50: '#b983e6',
    500: '#964dd9',
    950: '#000000',
  },
}
SCSS
$custom: #964dd9;
$custom-light: #b983e6;
$custom-dark: #000000;
JSON
{
  "hex": "#964dd9",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 271.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.20715,
    "h": 304.6
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #964DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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