#964FD9#964FD9

#964FD9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.204 H 304.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#964FD9
RGBrgb(150, 79, 217)
HSLhsl(271, 64%, 58%)
HSVhsv(271, 64%, 85%)
CMYKcmyk(30.9%, 63.6%, 0%, 14.9%)
CIE-LABlab(48.37, 54.83, -59.52)
CIE-LCHlch(48.37, 80.93, 312.65°)
OKLaboklab(57.87% 0.1155 -0.1687)
OKLCHoklch(57.87% 0.204 304.4)
XYZxyz(27.8952, 17.0859, 67.4605)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FD9 #92D94F
analogous
#514FD9 #964FD9 #D94FD7
triadic
#964FD9 #D9964F #4FD996
tetradic
#964FD9 #D9514F #92D94F #4FD7D9
square
#964FD9 #D9514F #92D94F #4FD7D9
split-complementary
#964FD9 #D7D94F #4FD951
monochromatic
#581F8F #782AC1 #964FD9 #B481E4 #D2B4EF

Accessibility & contrast

On white

4.75
#964FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#964FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964FD9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FD9#FFFFFF#000000##FFFFFF
##964FD91.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#8A6C8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #964fd9;
/* rgb */ color: rgb(150, 79, 217);
/* oklch */ color: oklch(57.9% 0.204 304.4);
Tailwind
colors: {
  custom: {
    50: '#b984e5',
    500: '#964fd9',
    950: '#000000',
  },
}
SCSS
$custom: #964fd9;
$custom-light: #b984e5;
$custom-dark: #000000;
JSON
{
  "hex": "#964fd9",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 270.87,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57869,
    "c": 0.20448,
    "h": 304.4
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#964FD9
secondary
#C1DDA6
accent
#E74091
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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