#F17FE4#F17FE4

#F17FE4 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.7% C 0.184 H 331.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#F17FE4
RGBrgb(241, 127, 228)
HSLhsl(307, 80%, 72%)
HSVhsv(307, 47%, 95%)
CMYKcmyk(0%, 47.3%, 5.4%, 5.5%)
CIE-LABlab(69.10, 56.96, -32.20)
CIE-LCHlch(69.10, 65.43, 330.52°)
OKLaboklab(75.69% 0.1621 -0.0876)
OKLCHoklch(75.69% 0.184 331.6)
XYZxyz(57.8682, 39.4844, 77.9570)
Luminance0.3948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FE4 #7FF18C
analogous
#C57FF1 #F17FE4 #F17FAB
triadic
#F17FE4 #E4F17F #7FE4F1
tetradic
#F17FE4 #F1C57F #7FF18C #7FABF1
square
#F17FE4 #F1C57F #7FF18C #7FABF1
split-complementary
#F17FE4 #ABF17F #7FF1C5
monochromatic
#DD18C7 #EB48D8 #F17FE4 #F7B6F0 #FCE3F9

Accessibility & contrast

On white

2.36
#F17FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#F17FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FE4
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FE4#FFFFFF#000000##000000
##F17FE41.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9FE7
Deuteranopia (green-blind)
#9BAEE1
Tritanopia (blue-blind)
#F987A7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f17fe4;
/* rgb */ color: rgb(241, 127, 228);
/* oklch */ color: oklch(75.7% 0.184 331.6);
Tailwind
colors: {
  custom: {
    50: '#f8a8ec',
    500: '#f17fe4',
    950: '#000000',
  },
}
SCSS
$custom: #f17fe4;
$custom-light: #f8a8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fe4",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 306.842,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75693,
    "c": 0.18421,
    "h": 331.6
  },
  "luminance": 0.39481
}

Semantic roles & 50–950 ramp

primary
#F17FE4
secondary
#D7F4DA
accent
#DD2109
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F17FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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