#964FE7#964FE7

#964FE7 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.8% C 0.220 H 301.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#964FE7
RGBrgb(150, 79, 231)
HSLhsl(268, 76%, 61%)
HSVhsv(268, 66%, 91%)
CMYKcmyk(35.1%, 65.8%, 0%, 9.4%)
CIE-LABlab(49.31, 58.15, -65.94)
CIE-LCHlch(49.31, 87.92, 311.41°)
OKLaboklab(58.84% 0.1142 -0.1876)
OKLCHoklch(58.84% 0.22 301.3)
XYZxyz(29.7940, 17.8454, 77.4607)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FE7 #A0E74F
analogous
#4F54E7 #964FE7 #E24FE7
triadic
#964FE7 #E7964F #4FE796
tetradic
#964FE7 #E74F54 #A0E74F #4FE7E2
square
#964FE7 #E74F54 #A0E74F #4FE7E2
split-complementary
#964FE7 #E7E24F #54E74F
monochromatic
#5917A5 #761EDB #964FE7 #B685EE #D6BBF6

Accessibility & contrast

On white

4.60
#964FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#964FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #964FE7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FE7#FFFFFF#000000##FFFFFF
##964FE71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#857295
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #964fe7;
/* rgb */ color: rgb(150, 79, 231);
/* oklch */ color: oklch(58.8% 0.220 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba85ef',
    500: '#964fe7',
    950: '#000000',
  },
}
SCSS
$custom: #964fe7;
$custom-light: #ba85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#964fe7",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 268.026,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58844,
    "c": 0.21964,
    "h": 301.3
  },
  "luminance": 0.17846
}

Semantic roles & 50–950 ramp

primary
#964FE7
secondary
#CBE6AC
accent
#D80D79
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #964FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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