#964BDF#964BDF

#964BDF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.216 H 303.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#964BDF
RGBrgb(150, 75, 223)
HSLhsl(270, 70%, 58%)
HSVhsv(270, 66%, 87%)
CMYKcmyk(32.7%, 66.4%, 0%, 12.5%)
CIE-LABlab(48.06, 58.18, -63.43)
CIE-LCHlch(48.06, 86.07, 312.53°)
OKLaboklab(57.78% 0.1194 -0.1802)
OKLCHoklch(57.78% 0.216 303.5)
XYZxyz(28.4100, 16.8439, 71.5522)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964BDF #94DF4B
analogous
#4C4BDF #964BDF #DF4BDE
triadic
#964BDF #DF964B #4BDF96
tetradic
#964BDF #DF4C4B #94DF4B #4BDEDF
square
#964BDF #DF4C4B #94DF4B #4BDEDF
split-complementary
#964BDF #DEDF4B #4BDF4C
monochromatic
#591B95 #7824C9 #964BDF #B47FE8 #D3B3F1

Accessibility & contrast

On white

4.81
#964BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#964BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964BDF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964BDF#FFFFFF#000000##FFFFFF
##964BDF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0E72DC
Tritanopia (blue-blind)
#886C8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964bdf;
/* rgb */ color: rgb(150, 75, 223);
/* oklch */ color: oklch(57.8% 0.216 303.5);
Tailwind
colors: {
  custom: {
    50: '#ba82ea',
    500: '#964bdf',
    950: '#000000',
  },
}
SCSS
$custom: #964bdf;
$custom-light: #ba82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#964bdf",
  "rgb": {
    "r": 150,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 270.405,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.21614,
    "h": 303.5
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#964BDF
secondary
#C3E0A6
accent
#ED3B93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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