#F17FE3#F17FE3

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

Color values

HEX#F17FE3
RGBrgb(241, 127, 227)
HSLhsl(307, 80%, 72%)
HSVhsv(307, 47%, 95%)
CMYKcmyk(0%, 47.3%, 5.8%, 5.5%)
CIE-LABlab(69.06, 56.80, -31.70)
CIE-LCHlch(69.06, 65.05, 330.83°)
OKLaboklab(75.65% 0.1619 -0.0862)
OKLCHoklch(75.65% 0.183 332)
XYZxyz(57.7298, 39.4290, 77.2280)
Luminance0.3943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FE3 #7FF18D
analogous
#C67FF1 #F17FE3 #F17FAA
triadic
#F17FE3 #E3F17F #7FE3F1
tetradic
#F17FE3 #F1C67F #7FF18D #7FAAF1
square
#F17FE3 #F1C67F #7FF18D #7FAAF1
split-complementary
#F17FE3 #AAF17F #7FF1C6
monochromatic
#DD18C5 #EB48D7 #F17FE3 #F7B6EF #FCE3F9

Accessibility & contrast

On white

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

On black

8.89
#F17FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FE3
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FE3#FFFFFF#000000##000000
##F17FE31.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f17fe3;
/* rgb */ color: rgb(241, 127, 227);
/* oklch */ color: oklch(75.6% 0.183 332.0);
Tailwind
colors: {
  custom: {
    50: '#f8a8ec',
    500: '#f17fe3',
    950: '#000000',
  },
}
SCSS
$custom: #f17fe3;
$custom-light: #f8a8ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fe3",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 227
  },
  "hsl": {
    "h": 307.368,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7565,
    "c": 0.18338,
    "h": 332
  },
  "luminance": 0.39426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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