#964ED5#964ED5

#964ED5 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.201 H 305.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#964ED5
RGBrgb(150, 78, 213)
HSLhsl(272, 62%, 57%)
HSVhsv(272, 63%, 84%)
CMYKcmyk(29.6%, 63.4%, 0%, 16.5%)
CIE-LABlab(47.93, 54.39, -57.95)
CIE-LCHlch(47.93, 79.47, 313.18°)
OKLaboklab(57.47% 0.1169 -0.1641)
OKLCHoklch(57.47% 0.201 305.5)
XYZxyz(27.3097, 16.7371, 64.7298)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964ED5 #8DD54E
analogous
#534ED5 #964ED5 #D54ED1
triadic
#964ED5 #D5964E #4ED596
tetradic
#964ED5 #D5534E #8DD54E #4ED1D5
square
#964ED5 #D5534E #8DD54E #4ED1D5
split-complementary
#964ED5 #D1D54E #4ED553
monochromatic
#582088 #782CBA #964ED5 #B37FE1 #D1B1EC

Accessibility & contrast

On white

4.83
#964ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#964ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964ED5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964ED5#FFFFFF#000000##FFFFFF
##964ED51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#8B6A8B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964ed5;
/* rgb */ color: rgb(150, 78, 213);
/* oklch */ color: oklch(57.5% 0.201 305.5);
Tailwind
colors: {
  custom: {
    50: '#b984e3',
    500: '#964ed5',
    950: '#000000',
  },
}
SCSS
$custom: #964ed5;
$custom-light: #b984e3;
$custom-dark: #000000;
JSON
{
  "hex": "#964ed5",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 272,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.20149,
    "h": 305.5
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#964ED5
secondary
#BEDBA4
accent
#E5438F
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #964ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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