#F17DF8#F17DF8

#F17DF8 is a light, highly saturated purple. Relative luminance 0.401; OKLCH L 76.3% C 0.205 H 325.2°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#F17DF8
RGBrgb(241, 125, 248)
HSLhsl(297, 90%, 73%)
HSVhsv(297, 50%, 97%)
CMYKcmyk(2.8%, 49.6%, 0%, 2.7%)
CIE-LABlab(69.58, 61.37, -42.45)
CIE-LCHlch(69.58, 74.62, 325.33°)
OKLaboklab(76.32% 0.1681 -0.1169)
OKLCHoklch(76.32% 0.205 325.2)
XYZxyz(60.5511, 40.1484, 93.3487)
Luminance0.4014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17DF8 #84F87D
analogous
#B37DF8 #F17DF8 #F87DC2
triadic
#F17DF8 #F8F17D #7DF8F1
tetradic
#F17DF8 #F8B37D #84F87D #7DC2F8
square
#F17DF8 #F8B37D #84F87D #7DC2F8
split-complementary
#F17DF8 #C2F87D #7DF8B3
monochromatic
#E10DEE #EB43F5 #F17DF8 #F7B7FB #FCE2FD

Accessibility & contrast

On white

2.33
#F17DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#F17DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17DF8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17DF8#FFFFFF#000000##000000
##F17DF81.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#92AFF4
Tritanopia (blue-blind)
#F68CAF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f17df8;
/* rgb */ color: rgb(241, 125, 248);
/* oklch */ color: oklch(76.3% 0.205 325.2);
Tailwind
colors: {
  custom: {
    50: '#f8a7fb',
    500: '#f17df8',
    950: '#000000',
  },
}
SCSS
$custom: #f17df8;
$custom-light: #f8a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f17df8",
  "rgb": {
    "r": 241,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 296.585,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76319,
    "c": 0.20475,
    "h": 325.2
  },
  "luminance": 0.40145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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