#F172FC#F172FC

#F172FC is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 75.1% C 0.225 H 324.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#F172FC
RGBrgb(241, 114, 252)
HSLhsl(295, 96%, 72%)
HSVhsv(295, 55%, 99%)
CMYKcmyk(4.4%, 54.8%, 0%, 1.2%)
CIE-LABlab(67.85, 67.17, -47.35)
CIE-LCHlch(67.85, 82.19, 324.82°)
OKLaboklab(75.11% 0.1827 -0.1309)
OKLCHoklch(75.11% 0.225 324.4)
XYZxyz(59.8621, 37.7668, 96.2132)
Luminance0.3776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172FC #7DFC72
analogous
#AC72FC #F172FC #FC72C2
triadic
#F172FC #FCF172 #72FCF1
tetradic
#F172FC #FCAC72 #7DFC72 #72C2FC
square
#F172FC #FCAC72 #7DFC72 #72C2FC
split-complementary
#F172FC #C2FC72 #72FCAC
monochromatic
#DC05EF #EB36FB #F172FC #F7AEFD #FCE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F172FC#FFFFFF#000000##000000
##F172FC1.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)
#5E9BFF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#F684AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f172fc;
/* rgb */ color: rgb(241, 114, 252);
/* oklch */ color: oklch(75.1% 0.225 324.4);
Tailwind
colors: {
  custom: {
    50: '#f8a0fe',
    500: '#f172fc',
    950: '#000000',
  },
}
SCSS
$custom: #f172fc;
$custom-light: #f8a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f172fc",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 295.217,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75108,
    "c": 0.22478,
    "h": 324.4
  },
  "luminance": 0.37764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172FC

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

Preview Lab → · Contrast checker → · Palette generator →

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