#F172FB#F172FB

#F172FB is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 75.1% C 0.224 H 324.6°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#F172FB
RGBrgb(241, 114, 251)
HSLhsl(296, 94%, 72%)
HSVhsv(296, 55%, 98%)
CMYKcmyk(4%, 54.6%, 0%, 1.6%)
CIE-LABlab(67.80, 67.00, -46.88)
CIE-LCHlch(67.80, 81.77, 325.02°)
OKLaboklab(75.06% 0.1826 -0.1295)
OKLCHoklch(75.06% 0.224 324.6)
XYZxyz(59.7041, 37.7036, 95.3808)
Luminance0.3770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172FB #7CFB72
analogous
#AD72FB #F172FB #FB72C1
triadic
#F172FB #FBF172 #72FBF1
tetradic
#F172FB #FBAD72 #7CFB72 #72C1FB
square
#F172FB #FBAD72 #7CFB72 #72C1FB
split-complementary
#F172FB #C1FB72 #72FBAD
monochromatic
#DB07EC #EB36F9 #F172FB #F7AEFD #FCE1FE

Accessibility & contrast

On white

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

On black

8.54
#F172FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172FB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172FB#FFFFFF#000000##000000
##F172FB1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#88ABF7
Tritanopia (blue-blind)
#F684AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f172fb;
/* rgb */ color: rgb(241, 114, 251);
/* oklch */ color: oklch(75.1% 0.224 324.6);
Tailwind
colors: {
  custom: {
    50: '#f8a0fd',
    500: '#f172fb',
    950: '#000000',
  },
}
SCSS
$custom: #f172fb;
$custom-light: #f8a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f172fb",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 295.62,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75059,
    "c": 0.2239,
    "h": 324.6
  },
  "luminance": 0.377
}

Semantic roles & 50–950 ramp

primary
#F172FB
secondary
#D5F6D3
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F172FB

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

Preview Lab → · Contrast checker → · Palette generator →

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