#F17FE2#F17FE2

#F17FE2 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.6% C 0.183 H 332.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F17FE2
RGBrgb(241, 127, 226)
HSLhsl(308, 80%, 72%)
HSVhsv(308, 47%, 95%)
CMYKcmyk(0%, 47.3%, 6.2%, 5.5%)
CIE-LABlab(69.02, 56.63, -31.21)
CIE-LCHlch(69.02, 64.66, 331.14°)
OKLaboklab(75.61% 0.1617 -0.0848)
OKLCHoklch(75.61% 0.183 332.3)
XYZxyz(57.5922, 39.3740, 76.5032)
Luminance0.3937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FE2 #7FF18E
analogous
#C77FF1 #F17FE2 #F17FA9
triadic
#F17FE2 #E2F17F #7FE2F1
tetradic
#F17FE2 #F1C77F #7FF18E #7FA9F1
square
#F17FE2 #F1C77F #7FF18E #7FA9F1
split-complementary
#F17FE2 #A9F17F #7FF1C7
monochromatic
#DD18C3 #EB48D6 #F17FE2 #F7B6EE #FCE3F9

Accessibility & contrast

On white

2.37
#F17FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#F17FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FE2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FE2#FFFFFF#000000##000000
##F17FE21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#9CAEDF
Tritanopia (blue-blind)
#FA87A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f17fe2;
/* rgb */ color: rgb(241, 127, 226);
/* oklch */ color: oklch(75.6% 0.183 332.3);
Tailwind
colors: {
  custom: {
    50: '#f8a8eb',
    500: '#f17fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f17fe2;
$custom-light: #f8a8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fe2",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 307.895,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75608,
    "c": 0.18255,
    "h": 332.3
  },
  "luminance": 0.39371
}

Semantic roles & 50–950 ramp

primary
#F17FE2
secondary
#D7F4DB
accent
#DD2509
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F17FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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