#964DCD#964DCD

#964DCD is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.194 H 307.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#964DCD
RGBrgb(150, 77, 205)
HSLhsl(274, 56%, 55%)
HSVhsv(274, 62%, 80%)
CMYKcmyk(26.8%, 62.4%, 0%, 19.6%)
CIE-LABlab(47.24, 53.04, -54.48)
CIE-LCHlch(47.24, 76.03, 314.23°)
OKLaboklab(56.81% 0.1185 -0.1539)
OKLCHoklch(56.81% 0.194 307.6)
XYZxyz(26.2487, 16.1999, 59.4899)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DCD #84CD4D
analogous
#564DCD #964DCD #CD4DC4
triadic
#964DCD #CD964D #4DCD96
tetradic
#964DCD #CD564D #84CD4D #4DC4CD
square
#964DCD #CD564D #84CD4D #4DC4CD
split-complementary
#964DCD #C4CD4D #4DCD56
monochromatic
#56237D #7730AC #964DCD #B27DDA #CEADE8

Accessibility & contrast

On white

4.95
#964DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#964DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964DCD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964DCD#FFFFFF#000000##FFFFFF
##964DCD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#8D6786
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #964dcd;
/* rgb */ color: rgb(150, 77, 205);
/* oklch */ color: oklch(56.8% 0.194 307.6);
Tailwind
colors: {
  custom: {
    50: '#b983dd',
    500: '#964dcd',
    950: '#000000',
  },
}
SCSS
$custom: #964dcd;
$custom-light: #b983dd;
$custom-dark: #000000;
JSON
{
  "hex": "#964dcd",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 274.219,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.19424,
    "h": 307.6
  },
  "luminance": 0.162
}

Semantic roles & 50–950 ramp

primary
#964DCD
secondary
#B7D6A0
accent
#DF4889
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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