#964CDC#964CDC

#964CDC is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.212 H 304.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#964CDC
RGBrgb(150, 76, 220)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 65%, 86%)
CMYKcmyk(31.8%, 65.5%, 0%, 13.7%)
CIE-LABlab(48.03, 57.00, -61.77)
CIE-LCHlch(48.03, 84.05, 312.70°)
OKLaboklab(57.69% 0.1186 -0.1753)
OKLCHoklch(57.69% 0.212 304.1)
XYZxyz(28.0775, 16.8203, 69.4637)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CDC #92DC4C
analogous
#4E4CDC #964CDC #DC4CDA
triadic
#964CDC #DC964C #4CDC96
tetradic
#964CDC #DC4E4C #92DC4C #4CDADC
square
#964CDC #DC4E4C #92DC4C #4CDADC
split-complementary
#964CDC #DADC4C #4CDC4E
monochromatic
#581C91 #7826C4 #964CDC #B47FE6 #D2B2F0

Accessibility & contrast

On white

4.81
#964CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #964CDC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CDC#FFFFFF#000000##FFFFFF
##964CDC1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#1B72D9
Tritanopia (blue-blind)
#896C8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964cdc;
/* rgb */ color: rgb(150, 76, 220);
/* oklch */ color: oklch(57.7% 0.212 304.1);
Tailwind
colors: {
  custom: {
    50: '#ba83e8',
    500: '#964cdc',
    950: '#000000',
  },
}
SCSS
$custom: #964cdc;
$custom-light: #ba83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#964cdc",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 270.833,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.21167,
    "h": 304.1
  },
  "luminance": 0.1682
}

Semantic roles & 50–950 ramp

primary
#964CDC
secondary
#C1DFA5
accent
#EA3E92
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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