#964DD8#964DD8

#964DD8 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.5% C 0.206 H 304.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#964DD8
RGBrgb(150, 77, 216)
HSLhsl(272, 64%, 57%)
HSVhsv(272, 64%, 85%)
CMYKcmyk(30.6%, 64.4%, 0%, 15.3%)
CIE-LABlab(47.94, 55.58, -59.64)
CIE-LCHlch(47.94, 81.52, 312.98°)
OKLaboklab(57.54% 0.1178 -0.1691)
OKLCHoklch(57.54% 0.206 304.9)
XYZxyz(27.6235, 16.7498, 66.7302)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DD8 #8FD84D
analogous
#514DD8 #964DD8 #D84DD4
triadic
#964DD8 #D8964D #4DD896
tetradic
#964DD8 #D8514D #8FD84D #4DD4D8
square
#964DD8 #D8514D #8FD84D #4DD4D8
split-complementary
#964DD8 #D4D84D #4DD851
monochromatic
#581F8C #782ABE #964DD8 #B47FE3 #D1B1EE

Accessibility & contrast

On white

4.83
#964DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#964DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964DD8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964DD8#FFFFFF#000000##FFFFFF
##964DD81.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#2672D5
Tritanopia (blue-blind)
#8A6B8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964dd8;
/* rgb */ color: rgb(150, 77, 216);
/* oklch */ color: oklch(57.5% 0.206 304.9);
Tailwind
colors: {
  custom: {
    50: '#b983e5',
    500: '#964dd8',
    950: '#000000',
  },
}
SCSS
$custom: #964dd8;
$custom-light: #b983e5;
$custom-dark: #000000;
JSON
{
  "hex": "#964dd8",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 271.511,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.20608,
    "h": 304.9
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#964DD8
secondary
#BFDCA4
accent
#E74190
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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