#F172FD#F172FD

#F172FD is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 75.2% C 0.226 H 324.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F172FD
RGBrgb(241, 114, 253)
HSLhsl(295, 97%, 72%)
HSVhsv(295, 55%, 99%)
CMYKcmyk(4.7%, 54.9%, 0%, 0.8%)
CIE-LABlab(67.90, 67.35, -47.83)
CIE-LCHlch(67.90, 82.60, 324.62°)
OKLaboklab(75.16% 0.1828 -0.1323)
OKLCHoklch(75.16% 0.226 324.1)
XYZxyz(60.0210, 37.8304, 97.0500)
Luminance0.3783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172FD #7EFD72
analogous
#AC72FD #F172FD #FD72C4
triadic
#F172FD #FDF172 #72FDF1
tetradic
#F172FD #FDAC72 #7EFD72 #72C4FD
square
#F172FD #FDAC72 #7EFD72 #72C4FD
split-complementary
#F172FD #C4FD72 #72FDAC
monochromatic
#DD03F1 #EB36FC #F172FD #F7AEFE #FCE1FF

Accessibility & contrast

On white

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

On black

8.57
#F172FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172FD
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172FD#FFFFFF#000000##000000
##F172FD1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#87ABF9
Tritanopia (blue-blind)
#F584AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f172fd;
/* rgb */ color: rgb(241, 114, 253);
/* oklch */ color: oklch(75.2% 0.226 324.1);
Tailwind
colors: {
  custom: {
    50: '#f8a0fe',
    500: '#f172fd',
    950: '#000000',
  },
}
SCSS
$custom: #f172fd;
$custom-light: #f8a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f172fd",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 294.82,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75158,
    "c": 0.22566,
    "h": 324.1
  },
  "luminance": 0.37827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172FD

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

Preview Lab → · Contrast checker → · Palette generator →

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