#964CD8#964CD8

#964CD8 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.207 H 305.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#964CD8
RGBrgb(150, 76, 216)
HSLhsl(272, 64%, 57%)
HSVhsv(272, 65%, 85%)
CMYKcmyk(30.6%, 64.8%, 0%, 15.3%)
CIE-LABlab(47.77, 56.06, -59.92)
CIE-LCHlch(47.77, 82.06, 313.09°)
OKLaboklab(57.41% 0.119 -0.1699)
OKLCHoklch(57.41% 0.207 305)
XYZxyz(27.5540, 16.6109, 66.7071)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CD8 #8ED84C
analogous
#504CD8 #964CD8 #D84CD4
triadic
#964CD8 #D8964C #4CD896
tetradic
#964CD8 #D8504C #8ED84C #4CD4D8
square
#964CD8 #D8504C #8ED84C #4CD4D8
split-complementary
#964CD8 #D4D84C #4CD850
monochromatic
#581E8B #7829BE #964CD8 #B37EE3 #D1B1EE

Accessibility & contrast

On white

4.86
#964CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#964CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CD8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CD8#FFFFFF#000000##FFFFFF
##964CD81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #964cd8;
/* rgb */ color: rgb(150, 76, 216);
/* oklch */ color: oklch(57.4% 0.207 305.0);
Tailwind
colors: {
  custom: {
    50: '#b983e5',
    500: '#964cd8',
    950: '#000000',
  },
}
SCSS
$custom: #964cd8;
$custom-light: #b983e5;
$custom-dark: #000000;
JSON
{
  "hex": "#964cd8",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 271.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57414,
    "c": 0.2074,
    "h": 305
  },
  "luminance": 0.16611
}

Semantic roles & 50–950 ramp

primary
#964CD8
secondary
#BEDCA4
accent
#E7418F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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