#964CDF#964CDF

#964CDF is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.215 H 303.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#964CDF
RGBrgb(150, 76, 223)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 66%, 87%)
CMYKcmyk(32.7%, 65.9%, 0%, 12.5%)
CIE-LABlab(48.24, 57.70, -63.15)
CIE-LCHlch(48.24, 85.54, 312.42°)
OKLaboklab(57.9% 0.1183 -0.1794)
OKLCHoklch(57.9% 0.215 303.4)
XYZxyz(28.4783, 16.9807, 71.5750)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CDF #95DF4C
analogous
#4C4CDF #964CDF #DF4CDE
triadic
#964CDF #DF964C #4CDF96
tetradic
#964CDF #DF4C4C #95DF4C #4CDEDF
square
#964CDF #DF4C4C #95DF4C #4CDEDF
split-complementary
#964CDF #DEDF4C #4CDF4C
monochromatic
#591B96 #7724CA #964CDF #B480E8 #D3B4F2

Accessibility & contrast

On white

4.78
#964CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#964CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CDF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CDF#FFFFFF#000000##FFFFFF
##964CDF1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#1272DC
Tritanopia (blue-blind)
#886D8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964cdf;
/* rgb */ color: rgb(150, 76, 223);
/* oklch */ color: oklch(57.9% 0.215 303.4);
Tailwind
colors: {
  custom: {
    50: '#ba83ea',
    500: '#964cdf',
    950: '#000000',
  },
}
SCSS
$custom: #964cdf;
$custom-light: #ba83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#964cdf",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 270.204,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.21487,
    "h": 303.4
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#964CDF
secondary
#C3E0A6
accent
#EC3B93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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