#964FD5#964FD5

#964FD5 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.200 H 305.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#964FD5
RGBrgb(150, 79, 213)
HSLhsl(272, 61%, 57%)
HSVhsv(272, 63%, 84%)
CMYKcmyk(29.6%, 62.9%, 0%, 16.5%)
CIE-LABlab(48.11, 53.89, -57.66)
CIE-LCHlch(48.11, 78.92, 313.07°)
OKLaboklab(57.6% 0.1158 -0.1632)
OKLCHoklch(57.6% 0.2 305.3)
XYZxyz(27.3813, 16.8803, 64.7536)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FD5 #8ED54F
analogous
#534FD5 #964FD5 #D54FD1
triadic
#964FD5 #D5964F #4FD596
tetradic
#964FD5 #D5534F #8ED54F #4FD1D5
square
#964FD5 #D5534F #8ED54F #4FD1D5
split-complementary
#964FD5 #D1D54F #4FD553
monochromatic
#582189 #782CBA #964FD5 #B380E1 #D1B2ED

Accessibility & contrast

On white

4.80
#964FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#964FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964FD5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FD5#FFFFFF#000000##FFFFFF
##964FD51.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#2E72D2
Tritanopia (blue-blind)
#8B6B8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964fd5;
/* rgb */ color: rgb(150, 79, 213);
/* oklch */ color: oklch(57.6% 0.200 305.3);
Tailwind
colors: {
  custom: {
    50: '#b984e3',
    500: '#964fd5',
    950: '#000000',
  },
}
SCSS
$custom: #964fd5;
$custom-light: #b984e3;
$custom-dark: #000000;
JSON
{
  "hex": "#964fd5",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 271.791,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.20013,
    "h": 305.3
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#964FD5
secondary
#BEDBA5
accent
#E5438F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #964FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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