#F173FC#F173FC

#F173FC is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.2% C 0.223 H 324.3°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#F173FC
RGBrgb(241, 115, 252)
HSLhsl(295, 96%, 72%)
HSVhsv(295, 54%, 99%)
CMYKcmyk(4.4%, 54.4%, 0%, 1.2%)
CIE-LABlab(68.02, 66.72, -47.09)
CIE-LCHlch(68.02, 81.67, 324.79°)
OKLaboklab(75.23% 0.1815 -0.1302)
OKLCHoklch(75.23% 0.223 324.3)
XYZxyz(59.9755, 37.9937, 96.2510)
Luminance0.3799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173FC #7EFC73
analogous
#AC73FC #F173FC #FC73C3
triadic
#F173FC #FCF173 #73FCF1
tetradic
#F173FC #FCAC73 #7EFC73 #73C3FC
square
#F173FC #FCAC73 #7EFC73 #73C3FC
split-complementary
#F173FC #C3FC73 #73FCAC
monochromatic
#DD05EF #EB37FB #F173FC #F7AFFD #FCE1FE

Accessibility & contrast

On white

2.44
#F173FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#F173FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173FC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173FC#FFFFFF#000000##000000
##F173FC1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#F585AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f173fc;
/* rgb */ color: rgb(241, 115, 252);
/* oklch */ color: oklch(75.2% 0.223 324.3);
Tailwind
colors: {
  custom: {
    50: '#f8a1fe',
    500: '#f173fc',
    950: '#000000',
  },
}
SCSS
$custom: #f173fc;
$custom-light: #f8a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f173fc",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 295.182,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75231,
    "c": 0.22333,
    "h": 324.3
  },
  "luminance": 0.37991
}

Semantic roles & 50–950 ramp

primary
#F173FC
secondary
#D7F7D4
accent
#E60012
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F173FC

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

Preview Lab → · Contrast checker → · Palette generator →

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