#96297F#96297F

#96297F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.172 H 337.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#96297F
RGBrgb(150, 41, 127)
HSLhsl(313, 57%, 37%)
HSVhsv(313, 73%, 59%)
CMYKcmyk(0%, 72.7%, 15.3%, 41.2%)
CIE-LABlab(37.12, 53.85, -24.01)
CIE-LCHlch(37.12, 58.96, 335.97°)
OKLaboklab(48.06% 0.159 -0.0651)
OKLCHoklch(48.06% 0.172 337.7)
XYZxyz(17.2017, 9.6038, 21.0223)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96297F #299640
analogous
#772996 #96297F #962948
triadic
#96297F #7F9629 #297F96
tetradic
#96297F #967729 #299640 #294896
square
#96297F #967729 #299640 #294896
split-complementary
#96297F #489629 #299677
monochromatic
#360F2E #661C56 #96297F #C636A8 #D565BD

Accessibility & contrast

On white

7.19
#96297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#96297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96297F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96297F#FFFFFF#000000##FFFFFF
##96297F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#9E2F51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96297f;
/* rgb */ color: rgb(150, 41, 127);
/* oklch */ color: oklch(48.1% 0.172 337.7);
Tailwind
colors: {
  custom: {
    50: '#b86da4',
    500: '#96297f',
    950: '#000000',
  },
}
SCSS
$custom: #96297f;
$custom-light: #b86da4;
$custom-dark: #000000;
JSON
{
  "hex": "#96297f",
  "rgb": {
    "r": 150,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 312.661,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.17182,
    "h": 337.7
  },
  "luminance": 0.09602
}

Semantic roles & 50–950 ramp

primary
#96297F
secondary
#60BB73
accent
#E06847
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #96297F

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

Preview Lab → · Contrast checker → · Palette generator →

#96297F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva