#F173E8#F173E8

#F173E8 is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.3% C 0.206 H 330.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#F173E8
RGBrgb(241, 115, 232)
HSLhsl(304, 82%, 70%)
HSVhsv(304, 52%, 95%)
CMYKcmyk(0%, 52.3%, 3.7%, 5.5%)
CIE-LABlab(67.12, 63.30, -37.48)
CIE-LCHlch(67.12, 73.56, 329.37°)
OKLaboklab(74.28% 0.179 -0.1025)
OKLCHoklch(74.28% 0.206 330.2)
XYZxyz(56.9714, 36.7920, 80.4291)
Luminance0.3679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F173E8 #73F17C
analogous
#BB73F1 #F173E8 #F173A9
triadic
#F173E8 #E8F173 #73E8F1
tetradic
#F173E8 #F1BB73 #73F17C #73A9F1
square
#F173E8 #F1BB73 #73F17C #73A9F1
split-complementary
#F173E8 #A9F173 #73F1BB
monochromatic
#D415C7 #EB3BDF #F173E8 #F7ABF1 #FCE2FA

Accessibility & contrast

On white

2.51
#F173E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#F173E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F173E8
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F173E8#FFFFFF#000000##000000
##F173E81.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EC
Deuteranopia (green-blind)
#92AAE4
Tritanopia (blue-blind)
#F97EA3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f173e8;
/* rgb */ color: rgb(241, 115, 232);
/* oklch */ color: oklch(74.3% 0.206 330.2);
Tailwind
colors: {
  custom: {
    50: '#f8a0ef',
    500: '#f173e8',
    950: '#000000',
  },
}
SCSS
$custom: #f173e8;
$custom-light: #f8a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f173e8",
  "rgb": {
    "r": 241,
    "g": 115,
    "b": 232
  },
  "hsl": {
    "h": 304.286,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74281,
    "c": 0.20626,
    "h": 330.2
  },
  "luminance": 0.36788
}

Semantic roles & 50–950 ramp

primary
#F173E8
secondary
#CEF2D1
accent
#DE1707
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F173E8

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

Preview Lab → · Contrast checker → · Palette generator →

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