#962781#962781

#962781 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.176 H 336.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#962781
RGBrgb(150, 39, 129)
HSLhsl(311, 59%, 37%)
HSVhsv(311, 74%, 59%)
CMYKcmyk(0%, 74%, 14%, 41.2%)
CIE-LABlab(36.97, 54.86, -25.48)
CIE-LCHlch(36.97, 60.49, 335.08°)
OKLaboklab(47.99% 0.1613 -0.0693)
OKLCHoklch(47.99% 0.176 336.7)
XYZxyz(17.2659, 9.5216, 21.6931)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962781 #27963C
analogous
#732796 #962781 #96274A
triadic
#962781 #819627 #278196
tetradic
#962781 #967327 #27963C #274A96
square
#962781 #967327 #27963C #274A96
split-complementary
#962781 #4A9627 #279673
monochromatic
#350E2D #651A57 #962781 #C734AB #D661C0

Accessibility & contrast

On white

7.23
#962781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#962781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962781
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962781#FFFFFF#000000##FFFFFF
##9627811.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4C83
Deuteranopia (green-blind)
#505D7E
Tritanopia (blue-blind)
#9E2E51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #962781;
/* rgb */ color: rgb(150, 39, 129);
/* oklch */ color: oklch(48.0% 0.176 336.7);
Tailwind
colors: {
  custom: {
    50: '#b86ca6',
    500: '#962781',
    950: '#000000',
  },
}
SCSS
$custom: #962781;
$custom-light: #b86ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#962781",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 311.351,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47986,
    "c": 0.17561,
    "h": 336.7
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#962781
secondary
#5DBC6F
accent
#E26346
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #962781

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

Preview Lab → · Contrast checker → · Palette generator →

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