#F17AFD#F17AFD

#F17AFD is a light, highly saturated purple. Relative luminance 0.397; OKLCH L 76.2% C 0.214 H 323.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#F17AFD
RGBrgb(241, 122, 253)
HSLhsl(295, 97%, 74%)
HSVhsv(295, 52%, 99%)
CMYKcmyk(4.7%, 51.8%, 0%, 0.8%)
CIE-LABlab(69.27, 63.68, -45.67)
CIE-LCHlch(69.27, 78.36, 324.35°)
OKLaboklab(76.16% 0.1727 -0.1261)
OKLCHoklch(76.16% 0.214 323.9)
XYZxyz(60.9631, 39.7147, 97.3640)
Luminance0.3971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17AFD #86FD7A
analogous
#AF7AFD #F17AFD #FD7AC7
triadic
#F17AFD #FDF17A #7AFDF1
tetradic
#F17AFD #FDAF7A #86FD7A #7AC7FD
square
#F17AFD #FDAF7A #86FD7A #7AC7FD
split-complementary
#F17AFD #C7FD7A #7AFDAF
monochromatic
#E204F9 #EB3EFC #F17AFD #F7B6FE #FCE1FF

Accessibility & contrast

On white

2.35
#F17AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#F17AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17AFD
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17AFD#FFFFFF#000000##000000
##F17AFD1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#8DAEF9
Tritanopia (blue-blind)
#F58BB1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f17afd;
/* rgb */ color: rgb(241, 122, 253);
/* oklch */ color: oklch(76.2% 0.214 323.9);
Tailwind
colors: {
  custom: {
    50: '#f8a5fe',
    500: '#f17afd',
    950: '#000000',
  },
}
SCSS
$custom: #f17afd;
$custom-light: #f8a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f17afd",
  "rgb": {
    "r": 241,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 294.504,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76164,
    "c": 0.21383,
    "h": 323.9
  },
  "luminance": 0.39712
}

Semantic roles & 50–950 ramp

primary
#F17AFD
secondary
#D7F7D4
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F17AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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