#F172F3#F172F3

#F172F3 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.7% C 0.217 H 326.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F172F3
RGBrgb(241, 114, 243)
HSLhsl(299, 84%, 70%)
HSVhsv(299, 53%, 95%)
CMYKcmyk(0.8%, 53.1%, 0%, 4.7%)
CIE-LABlab(67.43, 65.61, -43.06)
CIE-LCHlch(67.43, 78.48, 326.72°)
OKLaboklab(74.67% 0.1818 -0.1185)
OKLCHoklch(74.67% 0.217 326.9)
XYZxyz(58.4696, 37.2098, 88.8791)
Luminance0.3721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172F3 #74F372
analogous
#B172F3 #F172F3 #F372B4
triadic
#F172F3 #F3F172 #72F3F1
tetradic
#F172F3 #F3B172 #74F372 #72B4F3
square
#F172F3 #F3B172 #74F372 #72B4F3
split-complementary
#F172F3 #B4F372 #72F3B1
monochromatic
#D512D8 #EB3AEE #F172F3 #F7AAF8 #FCE3FD

Accessibility & contrast

On white

2.49
#F172F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#F172F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172F3
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172F3#FFFFFF#000000##000000
##F172F31.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF7
Deuteranopia (green-blind)
#8CAAEF
Tritanopia (blue-blind)
#F781A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f172f3;
/* rgb */ color: rgb(241, 114, 243);
/* oklch */ color: oklch(74.7% 0.217 326.9);
Tailwind
colors: {
  custom: {
    50: '#f8a0f7',
    500: '#f172f3',
    950: '#000000',
  },
}
SCSS
$custom: #f172f3;
$custom-light: #f8a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f172f3",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 299.07,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.7467,
    "c": 0.217,
    "h": 326.9
  },
  "luminance": 0.37206
}

Semantic roles & 50–950 ramp

primary
#F172F3
secondary
#CFF2CE
accent
#E10508
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F172F3

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

Preview Lab → · Contrast checker → · Palette generator →

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