#F171FB#F171FB

#F171FB is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 74.9% C 0.225 H 324.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#F171FB
RGBrgb(241, 113, 251)
HSLhsl(296, 95%, 71%)
HSVhsv(296, 55%, 98%)
CMYKcmyk(4%, 55%, 0%, 1.6%)
CIE-LABlab(67.64, 67.45, -47.14)
CIE-LCHlch(67.64, 82.29, 325.05°)
OKLaboklab(74.94% 0.1839 -0.1303)
OKLCHoklch(74.94% 0.225 324.7)
XYZxyz(59.5919, 37.4793, 95.3434)
Luminance0.3748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F171FB #7BFB71
analogous
#AC71FB #F171FB #FB71C0
triadic
#F171FB #FBF171 #71FBF1
tetradic
#F171FB #FBAC71 #7BFB71 #71C0FB
square
#F171FB #FBAC71 #7BFB71 #71C0FB
split-complementary
#F171FB #C0FB71 #71FBAC
monochromatic
#DA07EB #EB35F9 #F171FB #F7ADFD #FCE1FE

Accessibility & contrast

On white

2.47
#F171FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#F171FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F171FB
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F171FB#FFFFFF#000000##000000
##F171FB1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#88AAF7
Tritanopia (blue-blind)
#F683AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f171fb;
/* rgb */ color: rgb(241, 113, 251);
/* oklch */ color: oklch(74.9% 0.225 324.7);
Tailwind
colors: {
  custom: {
    50: '#f8a0fd',
    500: '#f171fb',
    950: '#000000',
  },
}
SCSS
$custom: #f171fb;
$custom-light: #f8a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f171fb",
  "rgb": {
    "r": 241,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 295.652,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74937,
    "c": 0.22535,
    "h": 324.7
  },
  "luminance": 0.37476
}

Semantic roles & 50–950 ramp

primary
#F171FB
secondary
#D5F6D2
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F171FB

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

Preview Lab → · Contrast checker → · Palette generator →

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