#964CD2#964CD2

#964CD2 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.201 H 306.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#964CD2
RGBrgb(150, 76, 210)
HSLhsl(273, 60%, 56%)
HSVhsv(273, 64%, 82%)
CMYKcmyk(28.6%, 63.8%, 0%, 17.6%)
CIE-LABlab(47.37, 54.68, -57.12)
CIE-LCHlch(47.37, 79.07, 313.75°)
OKLaboklab(57.01% 0.1194 -0.1617)
OKLCHoklch(57.01% 0.201 306.4)
XYZxyz(26.7925, 16.3063, 62.6963)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CD2 #88D24C
analogous
#534CD2 #964CD2 #D24CCB
triadic
#964CD2 #D2964C #4CD296
tetradic
#964CD2 #D2534C #88D24C #4CCBD2
square
#964CD2 #D2534C #88D24C #4CCBD2
split-complementary
#964CD2 #CBD24C #4CD253
monochromatic
#572183 #772DB4 #964CD2 #B37DDE #CFAEEB

Accessibility & contrast

On white

4.93
#964CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#964CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CD2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CD2#FFFFFF#000000##FFFFFF
##964CD21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#8C6888
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #964cd2;
/* rgb */ color: rgb(150, 76, 210);
/* oklch */ color: oklch(57.0% 0.201 306.4);
Tailwind
colors: {
  custom: {
    50: '#b982e0',
    500: '#964cd2',
    950: '#000000',
  },
}
SCSS
$custom: #964cd2;
$custom-light: #b982e0;
$custom-dark: #000000;
JSON
{
  "hex": "#964cd2",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 273.134,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.20099,
    "h": 306.4
  },
  "luminance": 0.16306
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #964CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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