#F17CF8#F17CF8

#F17CF8 is a light, highly saturated purple. Relative luminance 0.399; OKLCH L 76.2% C 0.206 H 325.2°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#F17CF8
RGBrgb(241, 124, 248)
HSLhsl(297, 90%, 73%)
HSVhsv(297, 50%, 97%)
CMYKcmyk(2.8%, 50%, 0%, 2.7%)
CIE-LABlab(69.40, 61.84, -42.73)
CIE-LCHlch(69.40, 75.17, 325.36°)
OKLaboklab(76.19% 0.1694 -0.1177)
OKLCHoklch(76.19% 0.206 325.2)
XYZxyz(60.4252, 39.8965, 93.3067)
Luminance0.3989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17CF8 #83F87C
analogous
#B37CF8 #F17CF8 #F87CC1
triadic
#F17CF8 #F8F17C #7CF8F1
tetradic
#F17CF8 #F8B37C #83F87C #7CC1F8
square
#F17CF8 #F8B37C #83F87C #7CC1F8
split-complementary
#F17CF8 #C1F87C #7CF8B3
monochromatic
#E00DED #EB42F5 #F17CF8 #F7B6FB #FCE2FD

Accessibility & contrast

On white

2.34
#F17CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#F17CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17CF8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17CF8#FFFFFF#000000##000000
##F17CF81.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA0FC
Deuteranopia (green-blind)
#91AFF4
Tritanopia (blue-blind)
#F68BAF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f17cf8;
/* rgb */ color: rgb(241, 124, 248);
/* oklch */ color: oklch(76.2% 0.206 325.2);
Tailwind
colors: {
  custom: {
    50: '#f8a6fb',
    500: '#f17cf8',
    950: '#000000',
  },
}
SCSS
$custom: #f17cf8;
$custom-light: #f8a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f17cf8",
  "rgb": {
    "r": 241,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 296.613,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76187,
    "c": 0.20629,
    "h": 325.2
  },
  "luminance": 0.39893
}

Semantic roles & 50–950 ramp

primary
#F17CF8
secondary
#D7F6D5
accent
#E6000D
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F17CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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