#964AE3#964AE3

#964AE3 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.9% C 0.222 H 302.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#964AE3
RGBrgb(150, 74, 227)
HSLhsl(270, 73%, 59%)
HSVhsv(270, 67%, 89%)
CMYKcmyk(33.9%, 67.4%, 0%, 11%)
CIE-LABlab(48.17, 59.59, -65.52)
CIE-LCHlch(48.17, 88.57, 312.28°)
OKLaboklab(57.94% 0.1199 -0.1864)
OKLCHoklch(57.94% 0.222 302.8)
XYZxyz(28.8883, 16.9276, 74.4036)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964AE3 #97E34A
analogous
#4A4BE3 #964AE3 #E34AE3
triadic
#964AE3 #E3964A #4AE396
tetradic
#964AE3 #E34A4B #97E34A #4AE3E3
square
#964AE3 #E34A4B #97E34A #4AE3E3
split-complementary
#964AE3 #E3E34A #4BE34A
monochromatic
#59189B #7720D0 #964AE3 #B57FEB #D3B4F3

Accessibility & contrast

On white

4.79
#964AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#964AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964AE3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964AE3#FFFFFF#000000##FFFFFF
##964AE31.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#876D91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964ae3;
/* rgb */ color: rgb(150, 74, 227);
/* oklch */ color: oklch(57.9% 0.222 302.8);
Tailwind
colors: {
  custom: {
    50: '#ba82ed',
    500: '#964ae3',
    950: '#000000',
  },
}
SCSS
$custom: #964ae3;
$custom-light: #ba82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#964ae3",
  "rgb": {
    "r": 150,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 269.804,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5794,
    "c": 0.22162,
    "h": 302.8
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#964AE3
secondary
#C5E2A6
accent
#F03895
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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