#9B197F#9B197F

#9B197F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.7% C 0.191 H 339.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9B197F
RGBrgb(155, 25, 127)
HSLhsl(313, 72%, 35%)
HSVhsv(313, 84%, 61%)
CMYKcmyk(0%, 83.9%, 18.1%, 39.2%)
CIE-LABlab(36.36, 59.81, -25.12)
CIE-LCHlch(36.36, 64.87, 337.21°)
OKLaboklab(47.69% 0.1782 -0.0681)
OKLCHoklch(47.69% 0.191 339.1)
XYZxyz(17.6965, 9.1979, 20.9180)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B197F #199B35
analogous
#76199B #9B197F #9B193E
triadic
#9B197F #7F9B19 #197F9B
tetradic
#9B197F #9B7619 #199B35 #193E9B
square
#9B197F #9B7619 #199B35 #193E9B
split-complementary
#9B197F #3E9B19 #199B76
monochromatic
#320829 #661154 #9B197F #D022AA #E24CC2

Accessibility & contrast

On white

7.40
#9B197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9B197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B197F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B197F#FFFFFF#000000##FFFFFF
##9B197F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234982
Deuteranopia (green-blind)
#505D7C
Tritanopia (blue-blind)
#A4204C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b197f;
/* rgb */ color: rgb(155, 25, 127);
/* oklch */ color: oklch(47.7% 0.191 339.1);
Tailwind
colors: {
  custom: {
    50: '#bd68a4',
    500: '#9b197f',
    950: '#000000',
  },
}
SCSS
$custom: #9b197f;
$custom-light: #bd68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9b197f",
  "rgb": {
    "r": 155,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 312.923,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47686,
    "c": 0.19081,
    "h": 339.1
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#9B197F
secondary
#4CC466
accent
#EF6039
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B197F

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

Preview Lab → · Contrast checker → · Palette generator →

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