#961781#961781

#961781 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.191 H 336.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#961781
RGBrgb(150, 23, 129)
HSLhsl(310, 73%, 34%)
HSVhsv(310, 85%, 59%)
CMYKcmyk(0%, 84.7%, 14%, 41.2%)
CIE-LABlab(35.37, 59.45, -28.00)
CIE-LCHlch(35.37, 65.71, 334.79°)
OKLaboklab(46.83% 0.1751 -0.0764)
OKLCHoklch(46.83% 0.191 336.4)
XYZxyz(16.8468, 8.6834, 21.5534)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#961781 #17962C
analogous
#6C1796 #961781 #961742
triadic
#961781 #819617 #178196
tetradic
#961781 #966C17 #17962C #174296
square
#961781 #966C17 #17962C #174296
split-complementary
#961781 #429617 #17966C
monochromatic
#2C0726 #610F53 #961781 #CB1FAF #E245C8

Accessibility & contrast

On white

7.67
#961781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#961781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #961781
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##961781#FFFFFF#000000##FFFFFF
##9617811.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4784
Deuteranopia (green-blind)
#4A5A7E
Tritanopia (blue-blind)
#9E234D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #961781;
/* rgb */ color: rgb(150, 23, 129);
/* oklch */ color: oklch(46.8% 0.191 336.4);
Tailwind
colors: {
  custom: {
    50: '#b967a6',
    500: '#961781',
    950: '#000000',
  },
}
SCSS
$custom: #961781;
$custom-light: #b967a6;
$custom-dark: #000000;
JSON
{
  "hex": "#961781",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 309.921,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46834,
    "c": 0.19103,
    "h": 336.4
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#961781
secondary
#45C35A
accent
#F05638
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #961781

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

Preview Lab → · Contrast checker → · Palette generator →

#961781 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva