#F172DF#F172DF

#F172DF is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.8% C 0.201 H 333.1°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#F172DF
RGBrgb(241, 114, 223)
HSLhsl(309, 82%, 70%)
HSVhsv(309, 53%, 95%)
CMYKcmyk(0%, 52.7%, 7.5%, 5.5%)
CIE-LABlab(66.57, 62.29, -33.34)
CIE-LCHlch(66.57, 70.65, 331.84°)
OKLaboklab(73.75% 0.1788 -0.0907)
OKLCHoklch(73.75% 0.201 333.1)
XYZxyz(55.6122, 36.0669, 73.8302)
Luminance0.3606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172DF #72F184
analogous
#C472F1 #F172DF #F172A0
triadic
#F172DF #DFF172 #72DFF1
tetradic
#F172DF #F1C472 #72F184 #72A0F1
square
#F172DF #F1C472 #72F184 #72A0F1
split-complementary
#F172DF #A0F172 #72F1C4
monochromatic
#D415B9 #EB3AD2 #F172DF #F7AAEC #FCE1F8

Accessibility & contrast

On white

2.56
#F172DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#F172DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172DF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172DF#FFFFFF#000000##000000
##F172DF1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F96E3
Deuteranopia (green-blind)
#95A9DB
Tritanopia (blue-blind)
#FA7B9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f172df;
/* rgb */ color: rgb(241, 114, 223);
/* oklch */ color: oklch(73.8% 0.201 333.1);
Tailwind
colors: {
  custom: {
    50: '#f8a0e9',
    500: '#f172df',
    950: '#000000',
  },
}
SCSS
$custom: #f172df;
$custom-light: #f8a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f172df",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 308.504,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73752,
    "c": 0.20052,
    "h": 333.1
  },
  "luminance": 0.36063
}

Semantic roles & 50–950 ramp

primary
#F172DF
secondary
#CDF2D2
accent
#DE2607
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F172DF

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

Preview Lab → · Contrast checker → · Palette generator →

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