#9F168F#9F168F

#9F168F is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.206 H 334.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9F168F
RGBrgb(159, 22, 143)
HSLhsl(307, 76%, 35%)
HSVhsv(307, 86%, 62%)
CMYKcmyk(0%, 86.2%, 10.1%, 37.6%)
CIE-LABlab(37.72, 63.58, -32.83)
CIE-LCHlch(37.72, 71.56, 332.69°)
OKLaboklab(49.06% 0.1848 -0.0902)
OKLCHoklch(49.06% 0.206 334)
XYZxyz(19.5431, 9.9297, 26.8686)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F168F #169F26
analogous
#6A169F #9F168F #9F164B
triadic
#9F168F #8F9F16 #168F9F
tetradic
#9F168F #9F6A16 #169F26 #164B9F
square
#9F168F #9F6A16 #169F26 #164B9F
split-complementary
#9F168F #4B9F16 #169F6A
monochromatic
#33072E #690F5F #9F168F #D51DBF #E64AD4

Accessibility & contrast

On white

7.03
#9F168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F168F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F168F#FFFFFF#000000##FFFFFF
##9F168F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4D92
Deuteranopia (green-blind)
#4C5F8C
Tritanopia (blue-blind)
#A72855
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f168f;
/* rgb */ color: rgb(159, 22, 143);
/* oklch */ color: oklch(49.1% 0.206 334.0);
Tailwind
colors: {
  custom: {
    50: '#c069b0',
    500: '#9f168f',
    950: '#000000',
  },
}
SCSS
$custom: #9f168f;
$custom-light: #c069b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f168f",
  "rgb": {
    "r": 159,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 307.007,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49061,
    "c": 0.20567,
    "h": 334
  },
  "luminance": 0.09928
}

Semantic roles & 50–950 ramp

primary
#9F168F
secondary
#4AC758
accent
#F24C36
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F168F

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

Preview Lab → · Contrast checker → · Palette generator →

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