#964BB2#964BB2

#964BB2 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 54.9% C 0.168 H 315.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#964BB2
RGBrgb(150, 75, 178)
HSLhsl(284, 41%, 50%)
HSVhsv(284, 58%, 70%)
CMYKcmyk(15.7%, 57.9%, 0%, 30.2%)
CIE-LABlab(45.26, 48.09, -41.94)
CIE-LCHlch(45.26, 63.81, 318.91°)
OKLaboklab(54.86% 0.121 -0.1172)
OKLCHoklch(54.86% 0.168 315.9)
XYZxyz(23.1284, 14.7313, 43.7359)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964BB2 #67B24B
analogous
#634BB2 #964BB2 #B24B9B
triadic
#964BB2 #B2964B #4BB296
tetradic
#964BB2 #B2634B #67B24B #4B9BB2
square
#964BB2 #B2634B #67B24B #4B9BB2
split-complementary
#964BB2 #9BB24B #4BB263
monochromatic
#4D275C #723987 #964BB2 #AF75C5 #C8A0D7

Accessibility & contrast

On white

5.32
#964BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#964BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964BB2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964BB2#FFFFFF#000000##FFFFFF
##964BB21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#945C77
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #964bb2;
/* rgb */ color: rgb(150, 75, 178);
/* oklch */ color: oklch(54.9% 0.168 315.9);
Tailwind
colors: {
  custom: {
    50: '#b781c9',
    500: '#964bb2',
    950: '#000000',
  },
}
SCSS
$custom: #964bb2;
$custom-light: #b781c9;
$custom-dark: #000000;
JSON
{
  "hex": "#964bb2",
  "rgb": {
    "r": 150,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 283.689,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.16844,
    "h": 315.9
  },
  "luminance": 0.14731
}

Semantic roles & 50–950 ramp

primary
#964BB2
secondary
#A2C495
accent
#D15778
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #964BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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