#F172FE#F172FE

#F172FE is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.2% C 0.227 H 323.8°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#F172FE
RGBrgb(241, 114, 254)
HSLhsl(294, 99%, 72%)
HSVhsv(294, 55%, 100%)
CMYKcmyk(5.1%, 55.1%, 0%, 0.4%)
CIE-LABlab(67.94, 67.53, -48.30)
CIE-LCHlch(67.94, 83.02, 324.42°)
OKLaboklab(75.21% 0.1829 -0.1337)
OKLCHoklch(75.21% 0.227 323.8)
XYZxyz(60.1807, 37.8943, 97.8911)
Luminance0.3789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172FE #7FFE72
analogous
#AB72FE #F172FE #FE72C5
triadic
#F172FE #FEF172 #72FEF1
tetradic
#F172FE #FEAB72 #7FFE72 #72C5FE
square
#F172FE #FEAB72 #7FFE72 #72C5FE
split-complementary
#F172FE #C5FE72 #72FEAB
monochromatic
#DD02F4 #EB35FE #F172FE #F7AFFE #FCE1FF

Accessibility & contrast

On white

2.45
#F172FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#F172FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172FE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172FE#FFFFFF#000000##000000
##F172FE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#87ABFA
Tritanopia (blue-blind)
#F585AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f172fe;
/* rgb */ color: rgb(241, 114, 254);
/* oklch */ color: oklch(75.2% 0.227 323.8);
Tailwind
colors: {
  custom: {
    50: '#f8a0ff',
    500: '#f172fe',
    950: '#000000',
  },
}
SCSS
$custom: #f172fe;
$custom-light: #f8a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f172fe",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 294.429,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75208,
    "c": 0.22653,
    "h": 323.8
  },
  "luminance": 0.37891
}

Semantic roles & 50–950 ramp

primary
#F172FE
secondary
#D7F7D4
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F172FE

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

Preview Lab → · Contrast checker → · Palette generator →

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