#F17FE6#F17FE6

#F17FE6 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.8% C 0.186 H 330.9°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#F17FE6
RGBrgb(241, 127, 230)
HSLhsl(306, 80%, 72%)
HSVhsv(306, 47%, 95%)
CMYKcmyk(0%, 47.3%, 4.6%, 5.5%)
CIE-LABlab(69.18, 57.30, -33.18)
CIE-LCHlch(69.18, 66.21, 329.93°)
OKLaboklab(75.78% 0.1624 -0.0904)
OKLCHoklch(75.78% 0.186 330.9)
XYZxyz(58.1474, 39.5961, 79.4276)
Luminance0.3959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17FE6 #7FF18A
analogous
#C37FF1 #F17FE6 #F17FAD
triadic
#F17FE6 #E6F17F #7FE6F1
tetradic
#F17FE6 #F1C37F #7FF18A #7FADF1
square
#F17FE6 #F1C37F #7FF18A #7FADF1
split-complementary
#F17FE6 #ADF17F #7FF1C3
monochromatic
#DD18CA #EB48DB #F17FE6 #F7B6F1 #FCE3FA

Accessibility & contrast

On white

2.35
#F17FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#F17FE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17FE6
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17FE6#FFFFFF#000000##000000
##F17FE61.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9FEA
Deuteranopia (green-blind)
#9AAFE3
Tritanopia (blue-blind)
#F988A8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f17fe6;
/* rgb */ color: rgb(241, 127, 230);
/* oklch */ color: oklch(75.8% 0.186 330.9);
Tailwind
colors: {
  custom: {
    50: '#f8a8ee',
    500: '#f17fe6',
    950: '#000000',
  },
}
SCSS
$custom: #f17fe6;
$custom-light: #f8a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f17fe6",
  "rgb": {
    "r": 241,
    "g": 127,
    "b": 230
  },
  "hsl": {
    "h": 305.789,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75779,
    "c": 0.18589,
    "h": 330.9
  },
  "luminance": 0.39593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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