#964EA2#964EA2

#964EA2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.4% C 0.147 H 321.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#964EA2
RGBrgb(150, 78, 162)
HSLhsl(291, 35%, 47%)
HSVhsv(291, 52%, 64%)
CMYKcmyk(7.4%, 51.9%, 0%, 36.5%)
CIE-LABlab(45.00, 43.23, -32.91)
CIE-LCHlch(45.00, 54.33, 322.72°)
OKLaboklab(54.39% 0.1154 -0.091)
OKLCHoklch(54.39% 0.147 321.7)
XYZxyz(21.8229, 14.5424, 35.8329)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964EA2 #5AA24E
analogous
#6C4EA2 #964EA2 #A24E84
triadic
#964EA2 #A2964E #4EA296
tetradic
#964EA2 #A26C4E #5AA24E #4E84A2
square
#964EA2 #A26C4E #5AA24E #4E84A2
split-complementary
#964EA2 #84A24E #4EA26C
monochromatic
#4A264F #703A79 #964EA2 #B172BB #C89BCF

Accessibility & contrast

On white

5.37
#964EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#964EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964EA2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964EA2#FFFFFF#000000##FFFFFF
##964EA21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#576DA0
Tritanopia (blue-blind)
#985971
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #964ea2;
/* rgb */ color: rgb(150, 78, 162);
/* oklch */ color: oklch(54.4% 0.147 321.7);
Tailwind
colors: {
  custom: {
    50: '#b782be',
    500: '#964ea2',
    950: '#000000',
  },
}
SCSS
$custom: #964ea2;
$custom-light: #b782be;
$custom-dark: #000000;
JSON
{
  "hex": "#964ea2",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 291.429,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54388,
    "c": 0.14698,
    "h": 321.7
  },
  "luminance": 0.14541
}

Semantic roles & 50–950 ramp

primary
#964EA2
secondary
#96BC90
accent
#CB5D6D
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #964EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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