#F17FF5#F17FF5

#F17FF5 is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.4% C 0.199 H 326.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#F17FF5
RGBrgb(241, 127, 245)
HSLhsl(298, 86%, 73%)
HSVhsv(298, 48%, 96%)
CMYKcmyk(1.6%, 48.2%, 0%, 3.9%)
CIE-LABlab(69.81, 59.88, -40.45)
CIE-LCHlch(69.81, 72.26, 325.96°)
OKLaboklab(76.45% 0.165 -0.1111)
OKLCHoklch(76.45% 0.199 326)
XYZxyz(60.3452, 40.4752, 91.0024)
Luminance0.4047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FF5 #83F57F
analogous
#B67FF5 #F17FF5 #F57FBE
triadic
#F17FF5 #F5F17F #7FF5F1
tetradic
#F17FF5 #F5B67F #83F57F #7FBEF5
square
#F17FF5 #F5B67F #83F57F #7FBEF5
split-complementary
#F17FF5 #BEF57F #7FF5B6
monochromatic
#E012E8 #EB46F1 #F17FF5 #F7B8F9 #FCE3FD

Accessibility & contrast

On white

2.31
#F17FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#F17FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FF5
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FF5#FFFFFF#000000##000000
##F17FF51.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F9
Deuteranopia (green-blind)
#94B0F1
Tritanopia (blue-blind)
#F68CAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f17ff5;
/* rgb */ color: rgb(241, 127, 245);
/* oklch */ color: oklch(76.4% 0.199 326.0);
Tailwind
colors: {
  custom: {
    50: '#f8a8f9',
    500: '#f17ff5',
    950: '#000000',
  },
}
SCSS
$custom: #f17ff5;
$custom-light: #f8a8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ff5",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 297.966,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76448,
    "c": 0.19894,
    "h": 326
  },
  "luminance": 0.40472
}

Semantic roles & 50–950 ramp

primary
#F17FF5
secondary
#D7F5D6
accent
#E2030B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171017
muted
#857F85

Preview Lab

Preview with #F17FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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