#964FAC#964FAC

#964FAC is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.1% C 0.156 H 317.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#964FAC
RGBrgb(150, 79, 172)
HSLhsl(286, 37%, 49%)
HSVhsv(286, 54%, 67%)
CMYKcmyk(12.8%, 54.1%, 0%, 32.5%)
CIE-LABlab(45.71, 44.77, -37.70)
CIE-LCHlch(45.71, 58.53, 319.89°)
OKLaboklab(55.08% 0.1151 -0.1049)
OKLCHoklch(55.08% 0.156 317.7)
XYZxyz(22.8190, 15.0554, 40.7257)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FAC #65AC4F
analogous
#674FAC #964FAC #AC4F94
triadic
#964FAC #AC964F #4FAC96
tetradic
#964FAC #AC674F #65AC4F #4F94AC
square
#964FAC #AC674F #65AC4F #4F94AC
split-complementary
#964FAC #94AC4F #4FAC67
monochromatic
#4D2858 #713C82 #964FAC #AF77C1 #C8A1D4

Accessibility & contrast

On white

5.24
#964FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#964FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964FAC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FAC#FFFFFF#000000##FFFFFF
##964FAC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68AF
Deuteranopia (green-blind)
#526FAA
Tritanopia (blue-blind)
#965D76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #964fac;
/* rgb */ color: rgb(150, 79, 172);
/* oklch */ color: oklch(55.1% 0.156 317.7);
Tailwind
colors: {
  custom: {
    50: '#b783c5',
    500: '#964fac',
    950: '#000000',
  },
}
SCSS
$custom: #964fac;
$custom-light: #b783c5;
$custom-dark: #000000;
JSON
{
  "hex": "#964fac",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 285.806,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.15577,
    "h": 317.7
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#964FAC
secondary
#A0C196
accent
#CD5B76
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #964FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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