#962A78#962A78

#962A78 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.166 H 341.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#962A78
RGBrgb(150, 42, 120)
HSLhsl(317, 56%, 38%)
HSVhsv(317, 72%, 59%)
CMYKcmyk(0%, 72%, 20%, 41.2%)
CIE-LABlab(36.93, 52.46, -19.95)
CIE-LCHlch(36.93, 56.12, 339.18°)
OKLaboklab(47.82% 0.1568 -0.0537)
OKLCHoklch(47.82% 0.166 341.1)
XYZxyz(16.7963, 9.4977, 18.7143)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A78 #2A9648
analogous
#7E2A96 #962A78 #962A42
triadic
#962A78 #78962A #2A7896
tetradic
#962A78 #967E2A #2A9648 #2A4296
square
#962A78 #967E2A #2A9648 #2A4296
split-complementary
#962A78 #42962A #2A967E
monochromatic
#360F2B #661D52 #962A78 #C6379E #D466B6

Accessibility & contrast

On white

7.24
#962A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#962A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962A78
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A78#FFFFFF#000000##FFFFFF
##962A781.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#9F2C4D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #962a78;
/* rgb */ color: rgb(150, 42, 120);
/* oklch */ color: oklch(47.8% 0.166 341.1);
Tailwind
colors: {
  custom: {
    50: '#b86d9f',
    500: '#962a78',
    950: '#000000',
  },
}
SCSS
$custom: #962a78;
$custom-light: #b86d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#962a78",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 316.667,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47815,
    "c": 0.16575,
    "h": 341.1
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#962A78
secondary
#61BA7A
accent
#E07248
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #962A78

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

Preview Lab → · Contrast checker → · Palette generator →

#962A78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva