#964DD5#964DD5

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

Color values

HEX#964DD5
RGBrgb(150, 77, 213)
HSLhsl(272, 62%, 57%)
HSVhsv(272, 64%, 84%)
CMYKcmyk(29.6%, 63.8%, 0%, 16.5%)
CIE-LABlab(47.75, 54.88, -58.24)
CIE-LCHlch(47.75, 80.02, 313.30°)
OKLaboklab(57.34% 0.1181 -0.165)
OKLCHoklch(57.34% 0.203 305.6)
XYZxyz(27.2392, 16.5961, 64.7063)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DD5 #8CD54D
analogous
#524DD5 #964DD5 #D54DD0
triadic
#964DD5 #D5964D #4DD596
tetradic
#964DD5 #D5524D #8CD54D #4DD0D5
square
#964DD5 #D5524D #8CD54D #4DD0D5
split-complementary
#964DD5 #D0D54D #4DD552
monochromatic
#582088 #782CB9 #964DD5 #B37FE1 #D0B0EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##964DD5#FFFFFF#000000##FFFFFF
##964DD51.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)
#006FD9
Deuteranopia (green-blind)
#2B72D2
Tritanopia (blue-blind)
#8B6A8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #964dd5;
/* rgb */ color: rgb(150, 77, 213);
/* oklch */ color: oklch(57.3% 0.203 305.6);
Tailwind
colors: {
  custom: {
    50: '#b983e3',
    500: '#964dd5',
    950: '#000000',
  },
}
SCSS
$custom: #964dd5;
$custom-light: #b983e3;
$custom-dark: #000000;
JSON
{
  "hex": "#964dd5",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 272.206,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.20285,
    "h": 305.6
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#964DD5
secondary
#BDDBA3
accent
#E5438E
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #964DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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