#964CD7#964CD7

#964CD7 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.206 H 305.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#964CD7
RGBrgb(150, 76, 215)
HSLhsl(272, 63%, 57%)
HSVhsv(272, 65%, 84%)
CMYKcmyk(30.2%, 64.7%, 0%, 15.7%)
CIE-LABlab(47.70, 55.83, -59.46)
CIE-LCHlch(47.70, 81.56, 313.20°)
OKLaboklab(57.35% 0.119 -0.1685)
OKLCHoklch(57.35% 0.206 305.2)
XYZxyz(27.4252, 16.5594, 66.0283)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CD7 #8DD74C
analogous
#514CD7 #964CD7 #D74CD3
triadic
#964CD7 #D7964C #4CD796
tetradic
#964CD7 #D7514C #8DD74C #4CD3D7
square
#964CD7 #D7514C #8DD74C #4CD3D7
split-complementary
#964CD7 #D3D74C #4CD751
monochromatic
#581F8A #782ABC #964CD7 #B37EE2 #D1B0ED

Accessibility & contrast

On white

4.87
#964CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#964CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CD7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CD7#FFFFFF#000000##FFFFFF
##964CD71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#2671D4
Tritanopia (blue-blind)
#8A6A8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #964cd7;
/* rgb */ color: rgb(150, 76, 215);
/* oklch */ color: oklch(57.3% 0.206 305.2);
Tailwind
colors: {
  custom: {
    50: '#b982e4',
    500: '#964cd7',
    950: '#000000',
  },
}
SCSS
$custom: #964cd7;
$custom-light: #b982e4;
$custom-dark: #000000;
JSON
{
  "hex": "#964cd7",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 271.942,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.20633,
    "h": 305.2
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#964CD7
secondary
#BEDCA3
accent
#E6418F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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