#962A7D#962A7D

#962A7D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.169 H 338.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#962A7D
RGBrgb(150, 42, 125)
HSLhsl(314, 56%, 38%)
HSVhsv(314, 72%, 59%)
CMYKcmyk(0%, 72%, 16.7%, 41.2%)
CIE-LABlab(37.16, 53.19, -22.71)
CIE-LCHlch(37.16, 57.83, 336.88°)
OKLaboklab(48.06% 0.1576 -0.0615)
OKLCHoklch(48.06% 0.169 338.7)
XYZxyz(17.1077, 9.6222, 20.3543)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A7D #2A9643
analogous
#792A96 #962A7D #962A47
triadic
#962A7D #7D962A #2A7D96
tetradic
#962A7D #96792A #2A9643 #2A4796
square
#962A7D #96792A #2A9643 #2A4796
split-complementary
#962A7D #47962A #2A9679
monochromatic
#360F2D #661D55 #962A7D #C637A5 #D466BB

Accessibility & contrast

On white

7.18
#962A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#962A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962A7D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A7D#FFFFFF#000000##FFFFFF
##962A7D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D7F
Deuteranopia (green-blind)
#525E7A
Tritanopia (blue-blind)
#9F2F50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #962a7d;
/* rgb */ color: rgb(150, 42, 125);
/* oklch */ color: oklch(48.1% 0.169 338.7);
Tailwind
colors: {
  custom: {
    50: '#b86ea3',
    500: '#962a7d',
    950: '#000000',
  },
}
SCSS
$custom: #962a7d;
$custom-light: #b86ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#962a7d",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 313.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48058,
    "c": 0.16918,
    "h": 338.7
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#962A7D
secondary
#61BA76
accent
#E06B48
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #962A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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