#964FE3#964FE3

#964FE3 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.215 H 302.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#964FE3
RGBrgb(150, 79, 227)
HSLhsl(269, 73%, 60%)
HSVhsv(269, 65%, 89%)
CMYKcmyk(33.9%, 65.2%, 0%, 11%)
CIE-LABlab(49.03, 57.20, -64.12)
CIE-LCHlch(49.03, 85.92, 311.73°)
OKLaboklab(58.56% 0.1147 -0.1823)
OKLCHoklch(58.56% 0.215 302.2)
XYZxyz(29.2355, 17.6220, 74.5193)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FE3 #9CE34F
analogous
#4F52E3 #964FE3 #E04FE3
triadic
#964FE3 #E3964F #4FE396
tetradic
#964FE3 #E34F52 #9CE34F #4FE3E0
square
#964FE3 #E34F52 #9CE34F #4FE3E0
split-complementary
#964FE3 #E3E04F #52E34F
monochromatic
#59199E #7722D3 #964FE3 #B684EB #D5B9F4

Accessibility & contrast

On white

4.64
#964FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#964FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #964FE3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FE3#FFFFFF#000000##FFFFFF
##964FE31.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#0E74E0
Tritanopia (blue-blind)
#867092
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #964fe3;
/* rgb */ color: rgb(150, 79, 227);
/* oklch */ color: oklch(58.6% 0.215 302.2);
Tailwind
colors: {
  custom: {
    50: '#ba85ed',
    500: '#964fe3',
    950: '#000000',
  },
}
SCSS
$custom: #964fe3;
$custom-light: #ba85ed;
$custom-dark: #000000;
JSON
{
  "hex": "#964fe3",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 268.784,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.58561,
    "c": 0.21532,
    "h": 302.2
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#964FE3
secondary
#C8E3AA
accent
#EF3998
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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