#964BD8#964BD8

#964BD8 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.209 H 305.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#964BD8
RGBrgb(150, 75, 216)
HSLhsl(272, 64%, 57%)
HSVhsv(272, 65%, 85%)
CMYKcmyk(30.6%, 65.3%, 0%, 15.3%)
CIE-LABlab(47.59, 56.55, -60.21)
CIE-LCHlch(47.59, 82.60, 313.20°)
OKLaboklab(57.29% 0.1201 -0.1707)
OKLCHoklch(57.29% 0.209 305.1)
XYZxyz(27.4857, 16.4742, 66.6843)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964BD8 #8DD84B
analogous
#504BD8 #964BD8 #D84BD4
triadic
#964BD8 #D8964B #4BD896
tetradic
#964BD8 #D8504B #8DD84B #4BD4D8
square
#964BD8 #D8504B #8DD84B #4BD4D8
split-complementary
#964BD8 #D4D84B #4BD850
monochromatic
#581E8B #7829BD #964BD8 #B37DE3 #D1B0EE

Accessibility & contrast

On white

4.89
#964BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#964BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964BD8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964BD8#FFFFFF#000000##FFFFFF
##964BD81.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#2271D5
Tritanopia (blue-blind)
#8A6A8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #964bd8;
/* rgb */ color: rgb(150, 75, 216);
/* oklch */ color: oklch(57.3% 0.209 305.1);
Tailwind
colors: {
  custom: {
    50: '#b982e5',
    500: '#964bd8',
    950: '#000000',
  },
}
SCSS
$custom: #964bd8;
$custom-light: #b982e5;
$custom-dark: #000000;
JSON
{
  "hex": "#964bd8",
  "rgb": {
    "r": 150,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 271.915,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.20871,
    "h": 305.1
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#964BD8
secondary
#BEDCA3
accent
#E7408F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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