#9F198C#9F198C

#9F198C is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.202 H 335.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F198C
RGBrgb(159, 25, 140)
HSLhsl(309, 73%, 36%)
HSVhsv(309, 84%, 62%)
CMYKcmyk(0%, 84.3%, 11.9%, 37.6%)
CIE-LABlab(37.77, 62.51, -30.90)
CIE-LCHlch(37.77, 69.73, 333.69°)
OKLaboklab(49.05% 0.1829 -0.0846)
OKLCHoklch(49.05% 0.202 335.2)
XYZxyz(19.3796, 9.9615, 25.7080)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F198C #199F2C
analogous
#6F199F #9F198C #9F1949
triadic
#9F198C #8C9F19 #198C9F
tetradic
#9F198C #9F6F19 #199F2C #19499F
square
#9F198C #9F6F19 #199F2C #19499F
split-complementary
#9F198C #499F19 #199F6F
monochromatic
#35082F #6A115D #9F198C #D421BB #E34FCE

Accessibility & contrast

On white

7.02
#9F198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F198C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F198C#FFFFFF#000000##FFFFFF
##9F198C1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A72754
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f198c;
/* rgb */ color: rgb(159, 25, 140);
/* oklch */ color: oklch(49.0% 0.202 335.2);
Tailwind
colors: {
  custom: {
    50: '#bf69ae',
    500: '#9f198c',
    950: '#000000',
  },
}
SCSS
$custom: #9f198c;
$custom-light: #bf69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9f198c",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 308.507,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49049,
    "c": 0.20151,
    "h": 335.2
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#9F198C
secondary
#4EC65F
accent
#F05238
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F198C

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

Preview Lab → · Contrast checker → · Palette generator →

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