#964FDC#964FDC

#964FDC is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.208 H 303.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#964FDC
RGBrgb(150, 79, 220)
HSLhsl(270, 67%, 59%)
HSVhsv(270, 64%, 86%)
CMYKcmyk(31.8%, 64.1%, 0%, 13.7%)
CIE-LABlab(48.57, 55.53, -60.91)
CIE-LCHlch(48.57, 82.43, 312.36°)
OKLaboklab(58.07% 0.1153 -0.1728)
OKLCHoklch(58.07% 0.208 303.7)
XYZxyz(28.2890, 17.2434, 69.5342)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FDC #95DC4F
analogous
#4F4FDC #964FDC #DC4FDB
triadic
#964FDC #DC964F #4FDC96
tetradic
#964FDC #DC4F4F #95DC4F #4FDBDC
square
#964FDC #DC4F4F #95DC4F #4FDBDC
split-complementary
#964FDC #DBDC4F #4FDC4F
monochromatic
#591D93 #7727C6 #964FDC #B482E6 #D3B5F0

Accessibility & contrast

On white

4.72
#964FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#964FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964FDC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FDC#FFFFFF#000000##FFFFFF
##964FDC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#2273D9
Tritanopia (blue-blind)
#896E8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #964fdc;
/* rgb */ color: rgb(150, 79, 220);
/* oklch */ color: oklch(58.1% 0.208 303.7);
Tailwind
colors: {
  custom: {
    50: '#ba84e8',
    500: '#964fdc',
    950: '#000000',
  },
}
SCSS
$custom: #964fdc;
$custom-light: #ba84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#964fdc",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 270.213,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58074,
    "c": 0.20773,
    "h": 303.7
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#964FDC
secondary
#C3DFA8
accent
#EA3E93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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