#964CE1#964CE1

#964CE1 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.217 H 303.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#964CE1
RGBrgb(150, 76, 225)
HSLhsl(270, 71%, 59%)
HSVhsv(270, 66%, 88%)
CMYKcmyk(33.3%, 66.2%, 0%, 11.8%)
CIE-LABlab(48.37, 58.17, -64.06)
CIE-LCHlch(48.37, 86.53, 312.24°)
OKLaboklab(58.04% 0.1181 -0.1821)
OKLCHoklch(58.04% 0.217 303)
XYZxyz(28.7496, 17.0892, 73.0035)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CE1 #97E14C
analogous
#4C4DE1 #964CE1 #E14CE1
triadic
#964CE1 #E1964C #4CE196
tetradic
#964CE1 #E14C4D #97E14C #4CE1E1
square
#964CE1 #E14C4D #97E14C #4CE1E1
split-complementary
#964CE1 #E1E14C #4DE14C
monochromatic
#591A99 #7722CD #964CE1 #B580EA #D3B5F3

Accessibility & contrast

On white

4.75
#964CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#964CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CE1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CE1#FFFFFF#000000##FFFFFF
##964CE11.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0972DE
Tritanopia (blue-blind)
#876E90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #964ce1;
/* rgb */ color: rgb(150, 76, 225);
/* oklch */ color: oklch(58.0% 0.217 303.0);
Tailwind
colors: {
  custom: {
    50: '#ba83eb',
    500: '#964ce1',
    950: '#000000',
  },
}
SCSS
$custom: #964ce1;
$custom-light: #ba83eb;
$custom-dark: #000000;
JSON
{
  "hex": "#964ce1",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 269.799,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.217,
    "h": 303
  },
  "luminance": 0.17089
}

Semantic roles & 50–950 ramp

primary
#964CE1
secondary
#C5E2A7
accent
#EE3A95
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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