#964FDB#964FDB

#964FDB is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.207 H 303.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#964FDB
RGBrgb(150, 79, 219)
HSLhsl(270, 66%, 58%)
HSVhsv(270, 64%, 86%)
CMYKcmyk(31.5%, 63.9%, 0%, 14.1%)
CIE-LABlab(48.50, 55.30, -60.45)
CIE-LCHlch(48.50, 81.93, 312.45°)
OKLaboklab(58.01% 0.1154 -0.1715)
OKLCHoklch(58.01% 0.207 303.9)
XYZxyz(28.1569, 17.1905, 68.8388)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FDB #94DB4F
analogous
#504FDB #964FDB #DB4FDA
triadic
#964FDB #DB964F #4FDB96
tetradic
#964FDB #DB504F #94DB4F #4FDADB
square
#964FDB #DB504F #94DB4F #4FDADB
split-complementary
#964FDB #DADB4F #4FDB50
monochromatic
#591E92 #7828C5 #964FDB #B482E5 #D3B5F0

Accessibility & contrast

On white

4.73
#964FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#964FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964FDB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FDB#FFFFFF#000000##FFFFFF
##964FDB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2473D8
Tritanopia (blue-blind)
#896D8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #964fdb;
/* rgb */ color: rgb(150, 79, 219);
/* oklch */ color: oklch(58.0% 0.207 303.9);
Tailwind
colors: {
  custom: {
    50: '#b984e7',
    500: '#964fdb',
    950: '#000000',
  },
}
SCSS
$custom: #964fdb;
$custom-light: #b984e7;
$custom-dark: #000000;
JSON
{
  "hex": "#964fdb",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 270.429,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.20666,
    "h": 303.9
  },
  "luminance": 0.1719
}

Semantic roles & 50–950 ramp

primary
#964FDB
secondary
#C3DFA7
accent
#E93F93
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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