#964EE3#964EE3

#964EE3 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.217 H 302.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#964EE3
RGBrgb(150, 78, 227)
HSLhsl(269, 73%, 60%)
HSVhsv(269, 66%, 89%)
CMYKcmyk(33.9%, 65.6%, 0%, 11%)
CIE-LABlab(48.86, 57.68, -64.41)
CIE-LCHlch(48.86, 86.46, 311.85°)
OKLaboklab(58.43% 0.1157 -0.1831)
OKLCHoklch(58.43% 0.217 302.3)
XYZxyz(29.1639, 17.4788, 74.4954)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964EE3 #9BE34E
analogous
#4E51E3 #964EE3 #E04EE3
triadic
#964EE3 #E3964E #4EE396
tetradic
#964EE3 #E34E51 #9BE34E #4EE3E0
square
#964EE3 #E34E51 #9BE34E #4EE3E0
split-complementary
#964EE3 #E3E04E #51E34E
monochromatic
#59199E #7721D3 #964EE3 #B583EB #D5B8F4

Accessibility & contrast

On white

4.67
#964EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#964EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #964EE3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964EE3#FFFFFF#000000##FFFFFF
##964EE31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0874E0
Tritanopia (blue-blind)
#866F92
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #964ee3;
/* rgb */ color: rgb(150, 78, 227);
/* oklch */ color: oklch(58.4% 0.217 302.3);
Tailwind
colors: {
  custom: {
    50: '#ba84ed',
    500: '#964ee3',
    950: '#000000',
  },
}
SCSS
$custom: #964ee3;
$custom-light: #ba84ed;
$custom-dark: #000000;
JSON
{
  "hex": "#964ee3",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 268.993,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58434,
    "c": 0.21659,
    "h": 302.3
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#964EE3
secondary
#C7E3AA
accent
#EF3897
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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