#964AE1#964AE1

#964AE1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.220 H 303.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#964AE1
RGBrgb(150, 74, 225)
HSLhsl(270, 72%, 59%)
HSVhsv(270, 67%, 88%)
CMYKcmyk(33.3%, 67.1%, 0%, 11.8%)
CIE-LABlab(48.03, 59.12, -64.62)
CIE-LCHlch(48.03, 87.58, 312.46°)
OKLaboklab(57.8% 0.1202 -0.1837)
OKLCHoklch(57.8% 0.22 303.2)
XYZxyz(28.6139, 16.8178, 72.9583)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964AE1 #95E14A
analogous
#4A4AE1 #964AE1 #E14AE0
triadic
#964AE1 #E1964A #4AE196
tetradic
#964AE1 #E14A4A #95E14A #4AE0E1
square
#964AE1 #E14A4A #95E14A #4AE0E1
split-complementary
#964AE1 #E0E14A #4AE14A
monochromatic
#591997 #7722CC #964AE1 #B47EEA #D3B3F2

Accessibility & contrast

On white

4.81
#964AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#964AE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964AE1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964AE1#FFFFFF#000000##FFFFFF
##964AE11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0072DE
Tritanopia (blue-blind)
#876C90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964ae1;
/* rgb */ color: rgb(150, 74, 225);
/* oklch */ color: oklch(57.8% 0.220 303.2);
Tailwind
colors: {
  custom: {
    50: '#ba82eb',
    500: '#964ae1',
    950: '#000000',
  },
}
SCSS
$custom: #964ae1;
$custom-light: #ba82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#964ae1",
  "rgb": {
    "r": 150,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 270.199,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.21951,
    "h": 303.2
  },
  "luminance": 0.16818
}

Semantic roles & 50–950 ramp

primary
#964AE1
secondary
#C3E1A6
accent
#EE3993
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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