#F171F9#F171F9

#F171F9 is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.8% C 0.224 H 325.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F171F9
RGBrgb(241, 113, 249)
HSLhsl(296, 92%, 71%)
HSVhsv(296, 55%, 98%)
CMYKcmyk(3.2%, 54.6%, 0%, 2.4%)
CIE-LABlab(67.54, 67.10, -46.19)
CIE-LCHlch(67.54, 81.46, 325.46°)
OKLaboklab(74.84% 0.1837 -0.1276)
OKLCHoklch(74.84% 0.224 325.2)
XYZxyz(59.2783, 37.3538, 93.6918)
Luminance0.3735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171F9 #79F971
analogous
#AD71F9 #F171F9 #F971BD
triadic
#F171F9 #F9F171 #71F9F1
tetradic
#F171F9 #F9AD71 #79F971 #71BDF9
square
#F171F9 #F9AD71 #79F971 #71BDF9
split-complementary
#F171F9 #BDF971 #71F9AD
monochromatic
#D90AE6 #EB36F7 #F171F9 #F7ACFB #FCE2FE

Accessibility & contrast

On white

2.48
#F171F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F171F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171F9
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171F9#FFFFFF#000000##000000
##F171F91.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#F682AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f171f9;
/* rgb */ color: rgb(241, 113, 249);
/* oklch */ color: oklch(74.8% 0.224 325.2);
Tailwind
colors: {
  custom: {
    50: '#f89ffc',
    500: '#f171f9',
    950: '#000000',
  },
}
SCSS
$custom: #f171f9;
$custom-light: #f89ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#f171f9",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 296.471,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74838,
    "c": 0.22362,
    "h": 325.2
  },
  "luminance": 0.37351
}

Semantic roles & 50–950 ramp

primary
#F171F9
secondary
#D3F5D1
accent
#E6000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F171F9

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

Preview Lab → · Contrast checker → · Palette generator →

#F171F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva