#964CDB#964CDB

#964CDB is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.211 H 304.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#964CDB
RGBrgb(150, 76, 219)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 65%, 86%)
CMYKcmyk(31.5%, 65.3%, 0%, 14.1%)
CIE-LABlab(47.97, 56.76, -61.31)
CIE-LCHlch(47.97, 83.55, 312.79°)
OKLaboklab(57.62% 0.1187 -0.174)
OKLCHoklch(57.62% 0.211 304.3)
XYZxyz(27.9454, 16.7675, 68.7683)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CDB #91DB4C
analogous
#4E4CDB #964CDB #DB4CD9
triadic
#964CDB #DB964C #4CDB96
tetradic
#964CDB #DB4E4C #91DB4C #4CD9DB
square
#964CDB #DB4E4C #91DB4C #4CD9DB
split-complementary
#964CDB #D9DB4C #4CDB4E
monochromatic
#581D90 #7827C3 #964CDB #B47FE5 #D2B2EF

Accessibility & contrast

On white

4.82
#964CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#964CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CDB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CDB#FFFFFF#000000##FFFFFF
##964CDB1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#1E72D8
Tritanopia (blue-blind)
#896B8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964cdb;
/* rgb */ color: rgb(150, 76, 219);
/* oklch */ color: oklch(57.6% 0.211 304.3);
Tailwind
colors: {
  custom: {
    50: '#ba83e7',
    500: '#964cdb',
    950: '#000000',
  },
}
SCSS
$custom: #964cdb;
$custom-light: #ba83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#964cdb",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 271.049,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57621,
    "c": 0.2106,
    "h": 304.3
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#964CDB
secondary
#C0DEA5
accent
#E93E91
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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