#964DDC#964DDC

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

Color values

HEX#964DDC
RGBrgb(150, 77, 220)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 65%, 86%)
CMYKcmyk(31.8%, 65%, 0%, 13.7%)
CIE-LABlab(48.21, 56.51, -61.49)
CIE-LCHlch(48.21, 83.51, 312.59°)
OKLaboklab(57.82% 0.1175 -0.1745)
OKLCHoklch(57.82% 0.21 304)
XYZxyz(28.1469, 16.9592, 69.4869)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DDC #93DC4D
analogous
#4E4DDC #964DDC #DC4DDB
triadic
#964DDC #DC964D #4DDC96
tetradic
#964DDC #DC4E4D #93DC4D #4DDBDC
square
#964DDC #DC4E4D #93DC4D #4DDBDC
split-complementary
#964DDC #DBDC4D #4DDC4E
monochromatic
#591D92 #7827C5 #964DDC #B480E6 #D2B3F0

Accessibility & contrast

On white

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

On black

4.39
#964DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##964DDC#FFFFFF#000000##FFFFFF
##964DDC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #964ddc;
/* rgb */ color: rgb(150, 77, 220);
/* oklch */ color: oklch(57.8% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#ba83e8',
    500: '#964ddc',
    950: '#000000',
  },
}
SCSS
$custom: #964ddc;
$custom-light: #ba83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#964ddc",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 270.629,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.21037,
    "h": 304
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #964DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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