#964CD4#964CD4

#964CD4 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.203 H 306.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#964CD4
RGBrgb(150, 76, 212)
HSLhsl(273, 61%, 56%)
HSVhsv(273, 64%, 83%)
CMYKcmyk(29.2%, 64.2%, 0%, 16.9%)
CIE-LABlab(47.50, 55.14, -58.06)
CIE-LCHlch(47.50, 80.07, 313.52°)
OKLaboklab(57.14% 0.1193 -0.1644)
OKLCHoklch(57.14% 0.203 306)
XYZxyz(27.0432, 16.4066, 64.0167)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CD4 #8AD44C
analogous
#524CD4 #964CD4 #D44CCE
triadic
#964CD4 #D4964C #4CD496
tetradic
#964CD4 #D4524C #8AD44C #4CCED4
square
#964CD4 #D4524C #8AD44C #4CCED4
split-complementary
#964CD4 #CED44C #4CD452
monochromatic
#572086 #782CB7 #964CD4 #B37DE0 #D0AFEC

Accessibility & contrast

On white

4.91
#964CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#964CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CD4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CD4#FFFFFF#000000##FFFFFF
##964CD41.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#2B71D1
Tritanopia (blue-blind)
#8B6989
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #964cd4;
/* rgb */ color: rgb(150, 76, 212);
/* oklch */ color: oklch(57.1% 0.203 306.0);
Tailwind
colors: {
  custom: {
    50: '#b982e2',
    500: '#964cd4',
    950: '#000000',
  },
}
SCSS
$custom: #964cd4;
$custom-light: #b982e2;
$custom-dark: #000000;
JSON
{
  "hex": "#964cd4",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 272.647,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57141,
    "c": 0.20313,
    "h": 306
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#964CD4
secondary
#BBDAA2
accent
#E4438D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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