#964AE5#964AE5

#964AE5 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.224 H 302.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#964AE5
RGBrgb(150, 74, 229)
HSLhsl(269, 75%, 59%)
HSVhsv(269, 68%, 90%)
CMYKcmyk(34.5%, 67.7%, 0%, 10.2%)
CIE-LABlab(48.31, 60.06, -66.43)
CIE-LCHlch(48.31, 89.55, 312.11°)
OKLaboklab(58.08% 0.1197 -0.189)
OKLCHoklch(58.08% 0.224 302.3)
XYZxyz(29.1660, 17.0387, 75.8658)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964AE5 #99E54A
analogous
#4A4CE5 #964AE5 #E34AE5
triadic
#964AE5 #E5964A #4AE596
tetradic
#964AE5 #E54A4C #99E54A #4AE5E3
square
#964AE5 #E54A4C #99E54A #4AE5E3
split-complementary
#964AE5 #E5E34A #4CE54A
monochromatic
#59179E #771ED3 #964AE5 #B580ED #D4B5F4

Accessibility & contrast

On white

4.76
#964AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#964AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964AE5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964AE5#FFFFFF#000000##FFFFFF
##964AE51.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#866E92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #964ae5;
/* rgb */ color: rgb(150, 74, 229);
/* oklch */ color: oklch(58.1% 0.224 302.3);
Tailwind
colors: {
  custom: {
    50: '#ba82ee',
    500: '#964ae5',
    950: '#000000',
  },
}
SCSS
$custom: #964ae5;
$custom-light: #ba82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#964ae5",
  "rgb": {
    "r": 150,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 269.419,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58084,
    "c": 0.22372,
    "h": 302.3
  },
  "luminance": 0.17039
}

Semantic roles & 50–950 ramp

primary
#964AE5
secondary
#C6E4A7
accent
#F13696
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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