#964FB2#964FB2

#964FB2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.4% C 0.162 H 315.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#964FB2
RGBrgb(150, 79, 178)
HSLhsl(283, 39%, 50%)
HSVhsv(283, 56%, 70%)
CMYKcmyk(15.7%, 55.6%, 0%, 30.2%)
CIE-LABlab(46.03, 46.04, -40.72)
CIE-LCHlch(46.03, 61.46, 318.51°)
OKLaboklab(55.42% 0.1156 -0.1137)
OKLCHoklch(55.42% 0.162 315.5)
XYZxyz(23.4083, 15.2911, 43.8292)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964FB2 #6BB24F
analogous
#644FB2 #964FB2 #B24F9C
triadic
#964FB2 #B2964F #4FB296
tetradic
#964FB2 #B2644F #6BB24F #4F9CB2
square
#964FB2 #B2644F #6BB24F #4F9CB2
split-complementary
#964FB2 #9CB24F #4FB264
monochromatic
#4F295E #733C88 #964FB2 #AF7AC5 #C9A4D7

Accessibility & contrast

On white

5.17
#964FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#964FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964FB2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964FB2#FFFFFF#000000##FFFFFF
##964FB21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#945F79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #964fb2;
/* rgb */ color: rgb(150, 79, 178);
/* oklch */ color: oklch(55.4% 0.162 315.5);
Tailwind
colors: {
  custom: {
    50: '#b783c9',
    500: '#964fb2',
    950: '#000000',
  },
}
SCSS
$custom: #964fb2;
$custom-light: #b783c9;
$custom-dark: #000000;
JSON
{
  "hex": "#964fb2",
  "rgb": {
    "r": 150,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 283.03,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.16216,
    "h": 315.5
  },
  "luminance": 0.1529
}

Semantic roles & 50–950 ramp

primary
#964FB2
secondary
#A5C498
accent
#CF597A
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #964FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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