#962A7E#962A7E

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

Color values

HEX#962A7E
RGBrgb(150, 42, 126)
HSLhsl(313, 56%, 38%)
HSVhsv(313, 72%, 59%)
CMYKcmyk(0%, 72%, 16%, 41.2%)
CIE-LABlab(37.20, 53.34, -23.26)
CIE-LCHlch(37.20, 58.19, 336.44°)
OKLaboklab(48.11% 0.1578 -0.063)
OKLCHoklch(48.11% 0.17 338.2)
XYZxyz(17.1719, 9.6479, 20.6925)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A7E #2A9642
analogous
#782A96 #962A7E #962A48
triadic
#962A7E #7E962A #2A7E96
tetradic
#962A7E #96782A #2A9642 #2A4896
square
#962A7E #96782A #2A9642 #2A4896
split-complementary
#962A7E #48962A #2A9678
monochromatic
#360F2E #661D56 #962A7E #C637A6 #D466BC

Accessibility & contrast

On white

7.17
#962A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#962A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962A7E
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A7E#FFFFFF#000000##FFFFFF
##962A7E1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#9E2F50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #962a7e;
/* rgb */ color: rgb(150, 42, 126);
/* oklch */ color: oklch(48.1% 0.170 338.2);
Tailwind
colors: {
  custom: {
    50: '#b86ea3',
    500: '#962a7e',
    950: '#000000',
  },
}
SCSS
$custom: #962a7e;
$custom-light: #b86ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#962a7e",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 313.333,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.16989,
    "h": 338.2
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#962A7E
secondary
#61BA75
accent
#E06A48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #962A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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