#964DCB#964DCB

#964DCB is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.192 H 308.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#964DCB
RGBrgb(150, 77, 203)
HSLhsl(275, 55%, 55%)
HSVhsv(275, 62%, 80%)
CMYKcmyk(26.1%, 62.1%, 0%, 20.4%)
CIE-LABlab(47.11, 52.58, -53.53)
CIE-LCHlch(47.11, 75.03, 314.49°)
OKLaboklab(56.67% 0.1186 -0.1511)
OKLCHoklch(56.67% 0.192 308.1)
XYZxyz(26.0089, 16.1040, 58.2266)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DCB #82CB4D
analogous
#574DCB #964DCB #CB4DC1
triadic
#964DCB #CB964D #4DCB96
tetradic
#964DCB #CB574D #82CB4D #4DC1CB
square
#964DCB #CB574D #82CB4D #4DC1CB
split-complementary
#964DCB #C1CB4D #4DCB57
monochromatic
#56247A #7731A9 #964DCB #B27CD9 #CEACE7

Accessibility & contrast

On white

4.98
#964DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#964DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964DCB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964DCB#FFFFFF#000000##FFFFFF
##964DCB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076DCF
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#8E6685
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #964dcb;
/* rgb */ color: rgb(150, 77, 203);
/* oklch */ color: oklch(56.7% 0.192 308.1);
Tailwind
colors: {
  custom: {
    50: '#b983db',
    500: '#964dcb',
    950: '#000000',
  },
}
SCSS
$custom: #964dcb;
$custom-light: #b983db;
$custom-dark: #000000;
JSON
{
  "hex": "#964dcb",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 274.762,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.19209,
    "h": 308.1
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#964DCB
secondary
#B6D49F
accent
#DE4A88
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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