#F17AF2#F17AF2

#F17AF2 is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.6% C 0.204 H 327.0°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#F17AF2
RGBrgb(241, 122, 242)
HSLhsl(300, 82%, 71%)
HSVhsv(300, 50%, 95%)
CMYKcmyk(0.4%, 49.6%, 0%, 5.1%)
CIE-LABlab(68.78, 61.74, -40.41)
CIE-LCHlch(68.78, 73.79, 326.79°)
OKLaboklab(75.64% 0.1712 -0.111)
OKLCHoklch(75.64% 0.204 327)
XYZxyz(59.2611, 39.0339, 88.4000)
Luminance0.3903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17AF2 #7BF27A
analogous
#B57AF2 #F17AF2 #F27AB7
triadic
#F17AF2 #F2F17A #7AF2F1
tetradic
#F17AF2 #F2B57A #7BF27A #7AB7F2
square
#F17AF2 #F2B57A #7BF27A #7AB7F2
split-complementary
#F17AF2 #B7F27A #7AF2B5
monochromatic
#DA16DC #EB42ED #F17AF2 #F7B2F7 #FCE3FC

Accessibility & contrast

On white

2.38
#F17AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#F17AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17AF2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17AF2#FFFFFF#000000##000000
##F17AF21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#92ADEE
Tritanopia (blue-blind)
#F787AB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f17af2;
/* rgb */ color: rgb(241, 122, 242);
/* oklch */ color: oklch(75.6% 0.204 327.0);
Tailwind
colors: {
  custom: {
    50: '#f8a5f6',
    500: '#f17af2',
    950: '#000000',
  },
}
SCSS
$custom: #f17af2;
$custom-light: #f8a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f17af2",
  "rgb": {
    "r": 241,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 299.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75643,
    "c": 0.20406,
    "h": 327
  },
  "luminance": 0.39031
}

Semantic roles & 50–950 ramp

primary
#F17AF2
secondary
#D5F3D4
accent
#DF0709
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F17AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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