#9B198F#9B198F

#9B198F is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.6% C 0.202 H 332.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9B198F
RGBrgb(155, 25, 143)
HSLhsl(306, 72%, 35%)
HSVhsv(306, 84%, 61%)
CMYKcmyk(0%, 83.9%, 7.7%, 39.2%)
CIE-LABlab(37.20, 62.11, -33.69)
CIE-LCHlch(37.20, 70.66, 331.53°)
OKLaboklab(48.56% 0.179 -0.0927)
OKLCHoklch(48.56% 0.202 332.6)
XYZxyz(18.8232, 9.6487, 26.8523)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B198F #199B25
analogous
#66199B #9B198F #9B194E
triadic
#9B198F #8F9B19 #198F9B
tetradic
#9B198F #9B6619 #199B25 #194E9B
square
#9B198F #9B6619 #199B25 #194E9B
split-complementary
#9B198F #4E9B19 #199B66
monochromatic
#32082E #66115E #9B198F #D022C0 #E24CD4

Accessibility & contrast

On white

7.17
#9B198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B198F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B198F#FFFFFF#000000##FFFFFF
##9B198F1.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)
#0D4C92
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#A22B55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b198f;
/* rgb */ color: rgb(155, 25, 143);
/* oklch */ color: oklch(48.6% 0.202 332.6);
Tailwind
colors: {
  custom: {
    50: '#bd69b0',
    500: '#9b198f',
    950: '#000000',
  },
}
SCSS
$custom: #9b198f;
$custom-light: #bd69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b198f",
  "rgb": {
    "r": 155,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 305.538,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4856,
    "c": 0.20164,
    "h": 332.6
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#9B198F
secondary
#4CC457
accent
#EF4A39
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9B198F

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

Preview Lab → · Contrast checker → · Palette generator →

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