#964BE1#964BE1

#964BE1 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.218 H 303.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#964BE1
RGBrgb(150, 75, 225)
HSLhsl(270, 71%, 59%)
HSVhsv(270, 67%, 88%)
CMYKcmyk(33.3%, 66.7%, 0%, 11.8%)
CIE-LABlab(48.20, 58.64, -64.34)
CIE-LCHlch(48.20, 87.06, 312.35°)
OKLaboklab(57.92% 0.1191 -0.1829)
OKLCHoklch(57.92% 0.218 303.1)
XYZxyz(28.6812, 16.9524, 72.9807)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964BE1 #96E14B
analogous
#4B4BE1 #964BE1 #E14BE1
triadic
#964BE1 #E1964B #4BE196
tetradic
#964BE1 #E14B4B #96E14B #4BE1E1
square
#964BE1 #E14B4B #96E14B #4BE1E1
split-complementary
#964BE1 #E1E14B #4BE14B
monochromatic
#591998 #7722CD #964BE1 #B57FEA #D3B4F2

Accessibility & contrast

On white

4.78
#964BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #964BE1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964BE1#FFFFFF#000000##FFFFFF
##964BE11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0372DE
Tritanopia (blue-blind)
#876D90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964be1;
/* rgb */ color: rgb(150, 75, 225);
/* oklch */ color: oklch(57.9% 0.218 303.1);
Tailwind
colors: {
  custom: {
    50: '#ba82eb',
    500: '#964be1',
    950: '#000000',
  },
}
SCSS
$custom: #964be1;
$custom-light: #ba82eb;
$custom-dark: #000000;
JSON
{
  "hex": "#964be1",
  "rgb": {
    "r": 150,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 270,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57918,
    "c": 0.21826,
    "h": 303.1
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#964BE1
secondary
#C4E1A6
accent
#EE3A94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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