#964FE4#964FE4

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

Color values

HEX#964FE4
RGBrgb(150, 79, 228)
HSLhsl(269, 73%, 60%)
HSVhsv(269, 65%, 89%)
CMYKcmyk(34.2%, 65.4%, 0%, 10.6%)
CIE-LABlab(49.10, 57.43, -64.58)
CIE-LCHlch(49.10, 86.42, 311.65°)
OKLaboklab(58.63% 0.1146 -0.1836)
OKLCHoklch(58.63% 0.216 302)
XYZxyz(29.3739, 17.6773, 75.2483)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FE4 #9DE44F
analogous
#4F52E4 #964FE4 #E14FE4
triadic
#964FE4 #E4964F #4FE496
tetradic
#964FE4 #E44F52 #9DE44F #4FE4E1
square
#964FE4 #E44F52 #9DE44F #4FE4E1
split-complementary
#964FE4 #E4E14F #52E44F
monochromatic
#5919A0 #7721D5 #964FE4 #B684EC #D5B9F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##964FE4#FFFFFF#000000##FFFFFF
##964FE41.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)
#0074E9
Deuteranopia (green-blind)
#0874E1
Tritanopia (blue-blind)
#867093
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #964fe4;
/* rgb */ color: rgb(150, 79, 228);
/* oklch */ color: oklch(58.6% 0.216 302.0);
Tailwind
colors: {
  custom: {
    50: '#ba85ed',
    500: '#964fe4',
    950: '#000000',
  },
}
SCSS
$custom: #964fe4;
$custom-light: #ba85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#964fe4",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 268.591,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.2164,
    "h": 302
  },
  "luminance": 0.17677
}

Semantic roles & 50–950 ramp

primary
#964FE4
secondary
#C9E4AB
accent
#D61077
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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