#964ED7#964ED7

#964ED7 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.204 H 305.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#964ED7
RGBrgb(150, 78, 215)
HSLhsl(272, 63%, 57%)
HSVhsv(272, 64%, 84%)
CMYKcmyk(30.2%, 63.7%, 0%, 15.7%)
CIE-LABlab(48.06, 54.85, -58.88)
CIE-LCHlch(48.06, 80.47, 312.97°)
OKLaboklab(57.6% 0.1168 -0.1668)
OKLCHoklch(57.6% 0.204 305)
XYZxyz(27.5651, 16.8393, 66.0749)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964ED7 #8FD74E
analogous
#524ED7 #964ED7 #D74ED4
triadic
#964ED7 #D7964E #4ED796
tetradic
#964ED7 #D7524E #8FD74E #4ED4D7
square
#964ED7 #D7524E #8FD74E #4ED4D7
split-complementary
#964ED7 #D4D74E #4ED752
monochromatic
#581F8B #782BBD #964ED7 #B480E2 #D1B2EE

Accessibility & contrast

On white

4.81
#964ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#964ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964ED7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964ED7#FFFFFF#000000##FFFFFF
##964ED71.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#2A72D4
Tritanopia (blue-blind)
#8A6B8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964ed7;
/* rgb */ color: rgb(150, 78, 215);
/* oklch */ color: oklch(57.6% 0.204 305.0);
Tailwind
colors: {
  custom: {
    50: '#b984e4',
    500: '#964ed7',
    950: '#000000',
  },
}
SCSS
$custom: #964ed7;
$custom-light: #b984e4;
$custom-dark: #000000;
JSON
{
  "hex": "#964ed7",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 271.533,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57603,
    "c": 0.20366,
    "h": 305
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#964ED7
secondary
#BFDCA5
accent
#E64290
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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