#F173FB#F173FB

#F173FB is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.2% C 0.222 H 324.6°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#F173FB
RGBrgb(241, 115, 251)
HSLhsl(296, 94%, 72%)
HSVhsv(296, 54%, 98%)
CMYKcmyk(4%, 54.2%, 0%, 1.6%)
CIE-LABlab(67.97, 66.55, -46.62)
CIE-LCHlch(67.97, 81.25, 324.99°)
OKLaboklab(75.18% 0.1814 -0.1288)
OKLCHoklch(75.18% 0.222 324.6)
XYZxyz(59.8175, 37.9305, 95.4186)
Luminance0.3793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173FB #7DFB73
analogous
#AD73FB #F173FB #FB73C1
triadic
#F173FB #FBF173 #73FBF1
tetradic
#F173FB #FBAD73 #7DFB73 #73C1FB
square
#F173FB #FBAD73 #7DFB73 #73C1FB
split-complementary
#F173FB #C1FB73 #73FBAD
monochromatic
#DC07ED #EB38F9 #F173FB #F7AFFD #FCE1FE

Accessibility & contrast

On white

2.45
#F173FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#F173FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173FB
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173FB#FFFFFF#000000##000000
##F173FB1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#F685AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f173fb;
/* rgb */ color: rgb(241, 115, 251);
/* oklch */ color: oklch(75.2% 0.222 324.6);
Tailwind
colors: {
  custom: {
    50: '#f8a1fd',
    500: '#f173fb',
    950: '#000000',
  },
}
SCSS
$custom: #f173fb;
$custom-light: #f8a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f173fb",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 295.588,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.22245,
    "h": 324.6
  },
  "luminance": 0.37927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F173FB

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

Preview Lab → · Contrast checker → · Palette generator →

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