#9B197E#9B197E

#9B197E is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.190 H 339.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9B197E
RGBrgb(155, 25, 126)
HSLhsl(313, 72%, 35%)
HSVhsv(313, 84%, 61%)
CMYKcmyk(0%, 83.9%, 18.7%, 39.2%)
CIE-LABlab(36.31, 59.67, -24.58)
CIE-LCHlch(36.31, 64.53, 337.62°)
OKLaboklab(47.64% 0.1781 -0.0666)
OKLCHoklch(47.64% 0.19 339.5)
XYZxyz(17.6316, 9.1720, 20.5764)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B197E #199B36
analogous
#77199B #9B197E #9B193D
triadic
#9B197E #7E9B19 #197E9B
tetradic
#9B197E #9B7719 #199B36 #193D9B
square
#9B197E #9B7719 #199B36 #193D9B
split-complementary
#9B197E #3D9B19 #199B77
monochromatic
#320828 #661153 #9B197E #D022A9 #E24CC1

Accessibility & contrast

On white

7.41
#9B197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9B197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B197E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B197E#FFFFFF#000000##FFFFFF
##9B197E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244981
Deuteranopia (green-blind)
#505C7B
Tritanopia (blue-blind)
#A4204C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9b197e;
/* rgb */ color: rgb(155, 25, 126);
/* oklch */ color: oklch(47.6% 0.190 339.5);
Tailwind
colors: {
  custom: {
    50: '#bd68a3',
    500: '#9b197e',
    950: '#000000',
  },
}
SCSS
$custom: #9b197e;
$custom-light: #bd68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b197e",
  "rgb": {
    "r": 155,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 313.385,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47635,
    "c": 0.19016,
    "h": 339.5
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#9B197E
secondary
#4CC467
accent
#EF6139
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9B197E

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

Preview Lab → · Contrast checker → · Palette generator →

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