#964ED2#964ED2

#964ED2 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.198 H 306.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#964ED2
RGBrgb(150, 78, 210)
HSLhsl(273, 59%, 56%)
HSVhsv(273, 63%, 82%)
CMYKcmyk(28.6%, 62.9%, 0%, 17.6%)
CIE-LABlab(47.73, 53.69, -56.54)
CIE-LCHlch(47.73, 77.97, 313.52°)
OKLaboklab(57.27% 0.1171 -0.16)
OKLCHoklch(57.27% 0.198 306.2)
XYZxyz(26.9324, 16.5862, 62.7429)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964ED2 #8AD24E
analogous
#544ED2 #964ED2 #D24ECC
triadic
#964ED2 #D2964E #4ED296
tetradic
#964ED2 #D2544E #8AD24E #4ECCD2
square
#964ED2 #D2544E #8AD24E #4ECCD2
split-complementary
#964ED2 #CCD24E #4ED254
monochromatic
#572284 #782EB5 #964ED2 #B37FDE #D0B0EB

Accessibility & contrast

On white

4.86
#964ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#964ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964ED2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964ED2#FFFFFF#000000##FFFFFF
##964ED21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3172CF
Tritanopia (blue-blind)
#8C6989
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #964ed2;
/* rgb */ color: rgb(150, 78, 210);
/* oklch */ color: oklch(57.3% 0.198 306.2);
Tailwind
colors: {
  custom: {
    50: '#b984e0',
    500: '#964ed2',
    950: '#000000',
  },
}
SCSS
$custom: #964ed2;
$custom-light: #b984e0;
$custom-dark: #000000;
JSON
{
  "hex": "#964ed2",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 272.727,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57267,
    "c": 0.19825,
    "h": 306.2
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#964ED2
secondary
#BBD9A3
accent
#E3458D
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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