#964ABA#964ABA

#964ABA is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.178 H 313.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#964ABA
RGBrgb(150, 74, 186)
HSLhsl(281, 45%, 51%)
HSVhsv(281, 60%, 73%)
CMYKcmyk(19.4%, 60.2%, 0%, 27.1%)
CIE-LABlab(45.53, 50.30, -46.19)
CIE-LCHlch(45.53, 68.29, 317.44°)
OKLaboklab(55.2% 0.1225 -0.1296)
OKLCHoklch(55.2% 0.178 313.4)
XYZxyz(23.8879, 14.9274, 48.0678)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964ABA #6EBA4A
analogous
#5E4ABA #964ABA #BA4AA6
triadic
#964ABA #BA964A #4ABA96
tetradic
#964ABA #BA5E4A #6EBA4A #4AA6BA
square
#964ABA #BA5E4A #6EBA4A #4AA6BA
split-complementary
#964ABA #A6BA4A #4ABA5E
monochromatic
#502664 #733790 #964ABA #B076CB #C9A3DC

Accessibility & contrast

On white

5.27
#964ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#964ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964ABA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964ABA#FFFFFF#000000##FFFFFF
##964ABA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#456EB7
Tritanopia (blue-blind)
#935E7B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #964aba;
/* rgb */ color: rgb(150, 74, 186);
/* oklch */ color: oklch(55.2% 0.178 313.4);
Tailwind
colors: {
  custom: {
    50: '#b881cf',
    500: '#964aba',
    950: '#000000',
  },
}
SCSS
$custom: #964aba;
$custom-light: #b881cf;
$custom-dark: #000000;
JSON
{
  "hex": "#964aba",
  "rgb": {
    "r": 150,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 280.714,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.552,
    "c": 0.17834,
    "h": 313.4
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#964ABA
secondary
#A7C997
accent
#D5537D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #964ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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