#F17AFE#F17AFE

#F17AFE is a light, highly saturated purple. Relative luminance 0.398; OKLCH L 76.2% C 0.215 H 323.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F17AFE
RGBrgb(241, 122, 254)
HSLhsl(294, 99%, 74%)
HSVhsv(294, 52%, 100%)
CMYKcmyk(5.1%, 52%, 0%, 0.4%)
CIE-LABlab(69.31, 63.85, -46.15)
CIE-LCHlch(69.31, 78.78, 324.14°)
OKLaboklab(76.21% 0.1728 -0.1275)
OKLCHoklch(76.21% 0.215 323.6)
XYZxyz(61.1229, 39.7786, 98.2052)
Luminance0.3978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17AFE #87FE7A
analogous
#AF7AFE #F17AFE #FE7AC9
triadic
#F17AFE #FEF17A #7AFEF1
tetradic
#F17AFE #FEAF7A #87FE7A #7AC9FE
square
#F17AFE #FEAF7A #87FE7A #7AC9FE
split-complementary
#F17AFE #C9FE7A #7AFEAF
monochromatic
#E302FC #EB3DFE #F17AFE #F7B7FE #FCE1FF

Accessibility & contrast

On white

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

On black

8.96
#F17AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17AFE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17AFE#FFFFFF#000000##000000
##F17AFE1.002.358.968.96
#FFFFFF2.351.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f17afe;
/* rgb */ color: rgb(241, 122, 254);
/* oklch */ color: oklch(76.2% 0.215 323.6);
Tailwind
colors: {
  custom: {
    50: '#f8a5ff',
    500: '#f17afe',
    950: '#000000',
  },
}
SCSS
$custom: #f17afe;
$custom-light: #f8a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f17afe",
  "rgb": {
    "r": 241,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 294.091,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76213,
    "c": 0.21473,
    "h": 323.6
  },
  "luminance": 0.39776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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