#F17FE5#F17FE5

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

Color values

HEX#F17FE5
RGBrgb(241, 127, 229)
HSLhsl(306, 80%, 72%)
HSVhsv(306, 47%, 95%)
CMYKcmyk(0%, 47.3%, 5%, 5.5%)
CIE-LABlab(69.14, 57.13, -32.69)
CIE-LCHlch(69.14, 65.82, 330.22°)
OKLaboklab(75.74% 0.1623 -0.089)
OKLCHoklch(75.74% 0.185 331.3)
XYZxyz(58.0074, 39.5401, 78.6902)
Luminance0.3954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FE5 #7FF18B
analogous
#C47FF1 #F17FE5 #F17FAC
triadic
#F17FE5 #E5F17F #7FE5F1
tetradic
#F17FE5 #F1C47F #7FF18B #7FACF1
square
#F17FE5 #F1C47F #7FF18B #7FACF1
split-complementary
#F17FE5 #ACF17F #7FF1C4
monochromatic
#DD18C9 #EB48DA #F17FE5 #F7B6F0 #FCE3F9

Accessibility & contrast

On white

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

On black

8.91
#F17FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FE5
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FE5#FFFFFF#000000##000000
##F17FE51.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9FE8
Deuteranopia (green-blind)
#9BAFE2
Tritanopia (blue-blind)
#F987A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f17fe5;
/* rgb */ color: rgb(241, 127, 229);
/* oklch */ color: oklch(75.7% 0.185 331.3);
Tailwind
colors: {
  custom: {
    50: '#f8a8ed',
    500: '#f17fe5',
    950: '#000000',
  },
}
SCSS
$custom: #f17fe5;
$custom-light: #f8a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fe5",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 306.316,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75736,
    "c": 0.18505,
    "h": 331.3
  },
  "luminance": 0.39537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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