#964EDC#964EDC

#964EDC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.209 H 303.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#964EDC
RGBrgb(150, 78, 220)
HSLhsl(270, 67%, 58%)
HSVhsv(270, 65%, 86%)
CMYKcmyk(31.8%, 64.5%, 0%, 13.7%)
CIE-LABlab(48.39, 56.03, -61.20)
CIE-LCHlch(48.39, 82.97, 312.47°)
OKLaboklab(57.95% 0.1164 -0.1737)
OKLCHoklch(57.95% 0.209 303.8)
XYZxyz(28.2174, 17.1002, 69.5104)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964EDC #94DC4E
analogous
#4F4EDC #964EDC #DC4EDB
triadic
#964EDC #DC964E #4EDC96
tetradic
#964EDC #DC4F4E #94DC4E #4EDBDC
square
#964EDC #DC4F4E #94DC4E #4EDBDC
split-complementary
#964EDC #DBDC4E #4EDC4F
monochromatic
#591D93 #7827C6 #964EDC #B481E6 #D3B4F0

Accessibility & contrast

On white

4.75
#964EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#964EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964EDC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964EDC#FFFFFF#000000##FFFFFF
##964EDC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#896D8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #964edc;
/* rgb */ color: rgb(150, 78, 220);
/* oklch */ color: oklch(57.9% 0.209 303.8);
Tailwind
colors: {
  custom: {
    50: '#ba84e8',
    500: '#964edc',
    950: '#000000',
  },
}
SCSS
$custom: #964edc;
$custom-light: #ba84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#964edc",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 270.423,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.20906,
    "h": 303.8
  },
  "luminance": 0.171
}

Semantic roles & 50–950 ramp

primary
#964EDC
secondary
#C3DFA7
accent
#EA3E93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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