#964BDB#964BDB

#964BDB is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.5% C 0.212 H 304.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#964BDB
RGBrgb(150, 75, 219)
HSLhsl(271, 67%, 58%)
HSVhsv(271, 66%, 86%)
CMYKcmyk(31.5%, 65.8%, 0%, 14.1%)
CIE-LABlab(47.79, 57.24, -61.59)
CIE-LCHlch(47.79, 84.08, 312.90°)
OKLaboklab(57.5% 0.1198 -0.1748)
OKLCHoklch(57.5% 0.212 304.4)
XYZxyz(27.8771, 16.6308, 68.7455)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964BDB #90DB4B
analogous
#4E4BDB #964BDB #DB4BD8
triadic
#964BDB #DB964B #4BDB96
tetradic
#964BDB #DB4E4B #90DB4B #4BD8DB
square
#964BDB #DB4E4B #90DB4B #4BD8DB
split-complementary
#964BDB #D8DB4B #4BDB4E
monochromatic
#581D8F #7827C2 #964BDB #B47EE5 #D1B1EF

Accessibility & contrast

On white

4.85
#964BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#964BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964BDB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964BDB#FFFFFF#000000##FFFFFF
##964BDB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #964bdb;
/* rgb */ color: rgb(150, 75, 219);
/* oklch */ color: oklch(57.5% 0.212 304.4);
Tailwind
colors: {
  custom: {
    50: '#ba82e7',
    500: '#964bdb',
    950: '#000000',
  },
}
SCSS
$custom: #964bdb;
$custom-light: #ba82e7;
$custom-dark: #000000;
JSON
{
  "hex": "#964bdb",
  "rgb": {
    "r": 150,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 271.25,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57496,
    "c": 0.2119,
    "h": 304.4
  },
  "luminance": 0.16631
}

Semantic roles & 50–950 ramp

primary
#964BDB
secondary
#C0DEA4
accent
#EA3E90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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