#F171F7#F171F7

#F171F7 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.7% C 0.222 H 325.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#F171F7
RGBrgb(241, 113, 247)
HSLhsl(297, 89%, 71%)
HSVhsv(297, 54%, 97%)
CMYKcmyk(2.4%, 54.3%, 0%, 3.1%)
CIE-LABlab(67.45, 66.75, -45.24)
CIE-LCHlch(67.45, 80.64, 325.87°)
OKLaboklab(74.74% 0.1835 -0.1248)
OKLCHoklch(74.74% 0.222 325.8)
XYZxyz(58.9680, 37.2297, 92.0577)
Luminance0.3723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171F7 #77F771
analogous
#AE71F7 #F171F7 #F771BA
triadic
#F171F7 #F7F171 #71F7F1
tetradic
#F171F7 #F7AE71 #77F771 #71BAF7
square
#F171F7 #F7AE71 #77F771 #71BAF7
split-complementary
#F171F7 #BAF771 #71F7AE
monochromatic
#D70DE1 #EB37F4 #F171F7 #F7ABFA #FCE2FD

Accessibility & contrast

On white

2.49
#F171F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#F171F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171F7
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171F7#FFFFFF#000000##000000
##F171F71.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#F682AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f171f7;
/* rgb */ color: rgb(241, 113, 247);
/* oklch */ color: oklch(74.7% 0.222 325.8);
Tailwind
colors: {
  custom: {
    50: '#f89ffa',
    500: '#f171f7',
    950: '#000000',
  },
}
SCSS
$custom: #f171f7;
$custom-light: #f89ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#f171f7",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 297.313,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7474,
    "c": 0.2219,
    "h": 325.8
  },
  "luminance": 0.37226
}

Semantic roles & 50–950 ramp

primary
#F171F7
secondary
#D1F4D0
accent
#E6000A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F171F7

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

Preview Lab → · Contrast checker → · Palette generator →

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