#9F198D#9F198D

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

Color values

HEX#9F198D
RGBrgb(159, 25, 141)
HSLhsl(308, 73%, 36%)
HSVhsv(308, 84%, 62%)
CMYKcmyk(0%, 84.3%, 11.3%, 37.6%)
CIE-LABlab(37.83, 62.65, -31.43)
CIE-LCHlch(37.83, 70.09, 333.36°)
OKLaboklab(49.1% 0.1829 -0.0861)
OKLCHoklch(49.1% 0.202 334.8)
XYZxyz(19.4537, 9.9911, 26.0981)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F198D #199F2B
analogous
#6E199F #9F198D #9F194A
triadic
#9F198D #8D9F19 #198D9F
tetradic
#9F198D #9F6E19 #199F2B #194A9F
square
#9F198D #9F6E19 #199F2B #194A9F
split-complementary
#9F198D #4A9F19 #199F6E
monochromatic
#35082F #6A115E #9F198D #D421BC #E34FCF

Accessibility & contrast

On white

7.01
#9F198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F198D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F198D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F198D#FFFFFF#000000##FFFFFF
##9F198D1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#A72854
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f198d;
/* rgb */ color: rgb(159, 25, 141);
/* oklch */ color: oklch(49.1% 0.202 334.8);
Tailwind
colors: {
  custom: {
    50: '#bf69af',
    500: '#9f198d',
    950: '#000000',
  },
}
SCSS
$custom: #9f198d;
$custom-light: #bf69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f198d",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 308.06,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.20219,
    "h": 334.8
  },
  "luminance": 0.09989
}

Semantic roles & 50–950 ramp

primary
#9F198D
secondary
#4EC65E
accent
#F05138
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F198D

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

Preview Lab → · Contrast checker → · Palette generator →

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