#F173F8#F173F8

#F173F8 is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 75.0% C 0.220 H 325.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#F173F8
RGBrgb(241, 115, 248)
HSLhsl(297, 90%, 71%)
HSVhsv(297, 54%, 97%)
CMYKcmyk(2.8%, 53.6%, 0%, 2.7%)
CIE-LABlab(67.83, 66.02, -45.19)
CIE-LCHlch(67.83, 80.00, 325.61°)
OKLaboklab(75.04% 0.1811 -0.1247)
OKLCHoklch(75.04% 0.22 325.4)
XYZxyz(59.3483, 37.7428, 92.9478)
Luminance0.3774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173F8 #7AF873
analogous
#AE73F8 #F173F8 #F873BC
triadic
#F173F8 #F8F173 #73F8F1
tetradic
#F173F8 #F8AE73 #7AF873 #73BCF8
square
#F173F8 #F8AE73 #7AF873 #73BCF8
split-complementary
#F173F8 #BCF873 #73F8AE
monochromatic
#DA0BE5 #EB39F5 #F173F8 #F7ADFB #FCE2FE

Accessibility & contrast

On white

2.46
#F173F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#F173F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173F8
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173F8#FFFFFF#000000##000000
##F173F81.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#F684AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f173f8;
/* rgb */ color: rgb(241, 115, 248);
/* oklch */ color: oklch(75.0% 0.220 325.4);
Tailwind
colors: {
  custom: {
    50: '#f8a1fb',
    500: '#f173f8',
    950: '#000000',
  },
}
SCSS
$custom: #f173f8;
$custom-light: #f8a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f173f8",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 296.842,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75035,
    "c": 0.21983,
    "h": 325.4
  },
  "luminance": 0.3774
}

Semantic roles & 50–950 ramp

primary
#F173F8
secondary
#D4F5D2
accent
#E6000C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F173F8

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

Preview Lab → · Contrast checker → · Palette generator →

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