#964FD4#964FD4

#964FD4 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.5% C 0.199 H 305.6°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#964FD4
RGBrgb(150, 79, 212)
HSLhsl(272, 61%, 57%)
HSVhsv(272, 63%, 83%)
CMYKcmyk(29.2%, 62.7%, 0%, 16.9%)
CIE-LABlab(48.04, 53.66, -57.19)
CIE-LCHlch(48.04, 78.42, 313.18°)
OKLaboklab(57.53% 0.1158 -0.1619)
OKLCHoklch(57.53% 0.199 305.6)
XYZxyz(27.2547, 16.8297, 64.0872)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FD4 #8DD44F
analogous
#544FD4 #964FD4 #D44FD0
triadic
#964FD4 #D4964F #4FD496
tetradic
#964FD4 #D4544F #8DD44F #4FD0D4
square
#964FD4 #D4544F #8DD44F #4FD0D4
split-complementary
#964FD4 #D0D44F #4FD454
monochromatic
#582187 #782DB9 #964FD4 #B380E0 #D1B1EC

Accessibility & contrast

On white

4.81
#964FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#964FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964FD4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FD4#FFFFFF#000000##FFFFFF
##964FD41.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#3072D1
Tritanopia (blue-blind)
#8B6B8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964fd4;
/* rgb */ color: rgb(150, 79, 212);
/* oklch */ color: oklch(57.5% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#b984e2',
    500: '#964fd4',
    950: '#000000',
  },
}
SCSS
$custom: #964fd4;
$custom-light: #b984e2;
$custom-dark: #000000;
JSON
{
  "hex": "#964fd4",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 272.03,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57532,
    "c": 0.19905,
    "h": 305.6
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#964FD4
secondary
#BEDAA4
accent
#E4448E
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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