#9B417D#9B417D

#9B417D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.5% C 0.140 H 342.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9B417D
RGBrgb(155, 65, 125)
HSLhsl(320, 41%, 43%)
HSVhsv(320, 58%, 61%)
CMYKcmyk(0%, 58.1%, 19.4%, 39.2%)
CIE-LABlab(41.58, 44.72, -15.82)
CIE-LCHlch(41.58, 47.44, 340.52°)
OKLaboklab(51.46% 0.1332 -0.0422)
OKLCHoklch(51.46% 0.14 342.4)
XYZxyz(19.1100, 12.2314, 20.7525)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B417D #419B5F
analogous
#8C419B #9B417D #9B4150
triadic
#9B417D #7D9B41 #417D9B
tetradic
#9B417D #9B8C41 #419B5F #41509B
square
#9B417D #9B8C41 #419B5F #41509B
split-complementary
#9B417D #509B41 #419B8C
monochromatic
#451D37 #702F5A #9B417D #BB5E9C #CD89B7

Accessibility & contrast

On white

6.09
#9B417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9B417D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B417D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B417D#FFFFFF#000000##FFFFFF
##9B417D1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47597F
Deuteranopia (green-blind)
#61687B
Tritanopia (blue-blind)
#A44259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b417d;
/* rgb */ color: rgb(155, 65, 125);
/* oklch */ color: oklch(51.5% 0.140 342.4);
Tailwind
colors: {
  custom: {
    50: '#bb7aa2',
    500: '#9b417d',
    950: '#000000',
  },
}
SCSS
$custom: #9b417d;
$custom-light: #bb7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b417d",
  "rgb": {
    "r": 155,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 320,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.1397,
    "h": 342.4
  },
  "luminance": 0.1223
}

Semantic roles & 50–950 ramp

primary
#9B417D
secondary
#80B892
accent
#D18057
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#12090F
muted
#817B7F

Preview Lab

Preview with #9B417D

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

Preview Lab → · Contrast checker → · Palette generator →

#9B417D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva