#F173DF#F173DF

#F173DF is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.9% C 0.199 H 333.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F173DF
RGBrgb(241, 115, 223)
HSLhsl(309, 82%, 70%)
HSVhsv(309, 52%, 95%)
CMYKcmyk(0%, 52.3%, 7.5%, 5.5%)
CIE-LABlab(66.74, 61.83, -33.07)
CIE-LCHlch(66.74, 70.12, 331.85°)
OKLaboklab(73.88% 0.1775 -0.09)
OKLCHoklch(73.88% 0.199 333.1)
XYZxyz(55.7256, 36.2937, 73.8680)
Luminance0.3629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173DF #73F185
analogous
#C473F1 #F173DF #F173A0
triadic
#F173DF #DFF173 #73DFF1
tetradic
#F173DF #F1C473 #73F185 #73A0F1
square
#F173DF #F1C473 #73F185 #73A0F1
split-complementary
#F173DF #A0F173 #73F1C4
monochromatic
#D415B9 #EB3BD2 #F173DF #F7ABEC #FCE2F8

Accessibility & contrast

On white

2.54
#F173DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#F173DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173DF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173DF#FFFFFF#000000##000000
##F173DF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7097E3
Deuteranopia (green-blind)
#95A9DB
Tritanopia (blue-blind)
#FA7B9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f173df;
/* rgb */ color: rgb(241, 115, 223);
/* oklch */ color: oklch(73.9% 0.199 333.1);
Tailwind
colors: {
  custom: {
    50: '#f8a0e9',
    500: '#f173df',
    950: '#000000',
  },
}
SCSS
$custom: #f173df;
$custom-light: #f8a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f173df",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 308.571,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73879,
    "c": 0.199,
    "h": 333.1
  },
  "luminance": 0.3629
}

Semantic roles & 50–950 ramp

primary
#F173DF
secondary
#CEF2D3
accent
#DE2607
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F173DF

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

Preview Lab → · Contrast checker → · Palette generator →

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