#961F8A#961F8A

#961F8A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.191 H 332.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#961F8A
RGBrgb(150, 31, 138)
HSLhsl(306, 66%, 35%)
HSVhsv(306, 79%, 59%)
CMYKcmyk(0%, 79.3%, 8%, 41.2%)
CIE-LABlab(36.56, 58.75, -31.70)
CIE-LCHlch(36.56, 66.76, 331.65°)
OKLaboklab(47.84% 0.1694 -0.0871)
OKLCHoklch(47.84% 0.191 332.8)
XYZxyz(17.6552, 9.3005, 24.9052)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#961F8A #1F962B
analogous
#661F96 #961F8A #961F4F
triadic
#961F8A #8A961F #1F8A96
tetradic
#961F8A #96661F #1F962B #1F4F96
square
#961F8A #96661F #1F962B #1F4F96
split-complementary
#961F8A #4F961F #1F9666
monochromatic
#310A2D #63155B #961F8A #C929B9 #DC54CE

Accessibility & contrast

On white

7.34
#961F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#961F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #961F8A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##961F8A#FFFFFF#000000##FFFFFF
##961F8A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#9D2D54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #961f8a;
/* rgb */ color: rgb(150, 31, 138);
/* oklch */ color: oklch(47.8% 0.191 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96aac',
    500: '#961f8a',
    950: '#000000',
  },
}
SCSS
$custom: #961f8a;
$custom-light: #b96aac;
$custom-dark: #000000;
JSON
{
  "hex": "#961f8a",
  "rgb": {
    "r": 150,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 306.05,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4784,
    "c": 0.19051,
    "h": 332.8
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#961F8A
secondary
#52BF5D
accent
#E9503F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #961F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#961F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva