#F17AF7#F17AF7

#F17AF7 is a light, highly saturated purple. Relative luminance 0.393; OKLCH L 75.9% C 0.208 H 325.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F17AF7
RGBrgb(241, 122, 247)
HSLhsl(297, 89%, 72%)
HSVhsv(297, 51%, 97%)
CMYKcmyk(2.4%, 50.6%, 0%, 3.1%)
CIE-LABlab(69.00, 62.61, -42.81)
CIE-LCHlch(69.00, 75.85, 325.64°)
OKLaboklab(75.88% 0.1719 -0.1179)
OKLCHoklch(75.88% 0.208 325.6)
XYZxyz(60.0223, 39.3384, 92.4092)
Luminance0.3933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17AF7 #80F77A
analogous
#B37AF7 #F17AF7 #F77ABF
triadic
#F17AF7 #F7F17A #7AF7F1
tetradic
#F17AF7 #F7B37A #80F77A #7ABFF7
square
#F17AF7 #F7B37A #80F77A #7ABFF7
split-complementary
#F17AF7 #BFF77A #7AF7B3
monochromatic
#DE0EE9 #EB40F4 #F17AF7 #F7B4FA #FCE2FD

Accessibility & contrast

On white

2.37
#F17AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#F17AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17AF7
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17AF7#FFFFFF#000000##000000
##F17AF71.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#90AEF3
Tritanopia (blue-blind)
#F689AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f17af7;
/* rgb */ color: rgb(241, 122, 247);
/* oklch */ color: oklch(75.9% 0.208 325.6);
Tailwind
colors: {
  custom: {
    50: '#f8a5fa',
    500: '#f17af7',
    950: '#000000',
  },
}
SCSS
$custom: #f17af7;
$custom-light: #f8a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f17af7",
  "rgb": {
    "r": 241,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 297.12,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75877,
    "c": 0.20846,
    "h": 325.6
  },
  "luminance": 0.39335
}

Semantic roles & 50–950 ramp

primary
#F17AF7
secondary
#D7F5D6
accent
#E5000B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F17AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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