#964CD1#964CD1

#964CD1 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.200 H 306.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#964CD1
RGBrgb(150, 76, 209)
HSLhsl(273, 59%, 56%)
HSVhsv(273, 64%, 82%)
CMYKcmyk(28.2%, 63.6%, 0%, 18%)
CIE-LABlab(47.31, 54.45, -56.65)
CIE-LCHlch(47.31, 78.58, 313.86°)
OKLaboklab(56.94% 0.1195 -0.1603)
OKLCHoklch(56.94% 0.2 306.7)
XYZxyz(26.6683, 16.2566, 62.0422)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CD1 #87D14C
analogous
#534CD1 #964CD1 #D14CCA
triadic
#964CD1 #D1964C #4CD196
tetradic
#964CD1 #D1534C #87D14C #4CCAD1
square
#964CD1 #D1534C #87D14C #4CCAD1
split-complementary
#964CD1 #CAD14C #4CD153
monochromatic
#572181 #772EB2 #964CD1 #B37DDE #CFADEA

Accessibility & contrast

On white

4.94
#964CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#964CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CD1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CD1#FFFFFF#000000##FFFFFF
##964CD11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#2F71CE
Tritanopia (blue-blind)
#8C6888
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #964cd1;
/* rgb */ color: rgb(150, 76, 209);
/* oklch */ color: oklch(56.9% 0.200 306.7);
Tailwind
colors: {
  custom: {
    50: '#b982e0',
    500: '#964cd1',
    950: '#000000',
  },
}
SCSS
$custom: #964cd1;
$custom-light: #b982e0;
$custom-dark: #000000;
JSON
{
  "hex": "#964cd1",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 273.383,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.19992,
    "h": 306.7
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#964CD1
secondary
#B9D8A1
accent
#E2468B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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