#964DD2#964DD2

#964DD2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.200 H 306.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#964DD2
RGBrgb(150, 77, 210)
HSLhsl(273, 60%, 56%)
HSVhsv(273, 63%, 82%)
CMYKcmyk(28.6%, 63.3%, 0%, 17.6%)
CIE-LABlab(47.55, 54.19, -56.83)
CIE-LCHlch(47.55, 78.53, 313.63°)
OKLaboklab(57.14% 0.1183 -0.1608)
OKLCHoklch(57.14% 0.2 306.3)
XYZxyz(26.8619, 16.4452, 62.7194)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DD2 #89D24D
analogous
#544DD2 #964DD2 #D24DCC
triadic
#964DD2 #D2964D #4DD296
tetradic
#964DD2 #D2544D #89D24D #4DCCD2
square
#964DD2 #D2544D #89D24D #4DCCD2
split-complementary
#964DD2 #CCD24D #4DD254
monochromatic
#572183 #772EB4 #964DD2 #B37EDE #D0AFEB

Accessibility & contrast

On white

4.90
#964DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#964DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964DD2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964DD2#FFFFFF#000000##FFFFFF
##964DD21.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#8C6989
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #964dd2;
/* rgb */ color: rgb(150, 77, 210);
/* oklch */ color: oklch(57.1% 0.200 306.3);
Tailwind
colors: {
  custom: {
    50: '#b983e0',
    500: '#964dd2',
    950: '#000000',
  },
}
SCSS
$custom: #964dd2;
$custom-light: #b983e0;
$custom-dark: #000000;
JSON
{
  "hex": "#964dd2",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 272.932,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57136,
    "c": 0.19962,
    "h": 306.3
  },
  "luminance": 0.16445
}

Semantic roles & 50–950 ramp

primary
#964DD2
secondary
#BBD9A2
accent
#E3458C
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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