#964EE7#964EE7

#964EE7 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.221 H 301.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#964EE7
RGBrgb(150, 78, 231)
HSLhsl(268, 76%, 61%)
HSVhsv(268, 66%, 91%)
CMYKcmyk(35.1%, 66.2%, 0%, 9.4%)
CIE-LABlab(49.13, 58.63, -66.22)
CIE-LCHlch(49.13, 88.45, 311.52°)
OKLaboklab(58.72% 0.1153 -0.1884)
OKLCHoklch(58.72% 0.221 301.5)
XYZxyz(29.7224, 17.7022, 77.4368)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964EE7 #9FE74E
analogous
#4E53E7 #964EE7 #E24EE7
triadic
#964EE7 #E7964E #4EE796
tetradic
#964EE7 #E74E53 #9FE74E #4EE7E2
square
#964EE7 #E74E53 #9FE74E #4EE7E2
split-complementary
#964EE7 #E7E24E #53E74E
monochromatic
#5916A4 #761EDA #964EE7 #B684EE #D6BAF6

Accessibility & contrast

On white

4.63
#964EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#964EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #964EE7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964EE7#FFFFFF#000000##FFFFFF
##964EE71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#857194
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #964ee7;
/* rgb */ color: rgb(150, 78, 231);
/* oklch */ color: oklch(58.7% 0.221 301.5);
Tailwind
colors: {
  custom: {
    50: '#ba84f0',
    500: '#964ee7',
    950: '#000000',
  },
}
SCSS
$custom: #964ee7;
$custom-light: #ba84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#964ee7",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 268.235,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.2209,
    "h": 301.5
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#964EE7
secondary
#CAE5AB
accent
#D80D79
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #964EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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