#F17CE2#F17CE2

#F17CE2 is a light, vivid purple. Relative luminance 0.386; OKLCH L 75.2% C 0.187 H 332.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#F17CE2
RGBrgb(241, 124, 226)
HSLhsl(308, 81%, 72%)
HSVhsv(308, 49%, 95%)
CMYKcmyk(0%, 48.5%, 6.2%, 5.5%)
CIE-LABlab(68.47, 58.08, -32.07)
CIE-LCHlch(68.47, 66.34, 331.09°)
OKLaboklab(75.2% 0.1658 -0.0872)
OKLCHoklch(75.2% 0.187 332.3)
XYZxyz(57.2105, 38.6106, 76.3760)
Luminance0.3861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17CE2 #7CF18B
analogous
#C67CF1 #F17CE2 #F17CA8
triadic
#F17CE2 #E2F17C #7CE2F1
tetradic
#F17CE2 #F1C67C #7CF18B #7CA8F1
square
#F17CE2 #F1C67C #7CF18B #7CA8F1
split-complementary
#F17CE2 #A8F17C #7CF1C6
monochromatic
#DB17C2 #EB45D6 #F17CE2 #F7B3EE #FCE3F9

Accessibility & contrast

On white

2.41
#F17CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#F17CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17CE2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17CE2#FFFFFF#000000##000000
##F17CE21.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#799CE5
Deuteranopia (green-blind)
#9AADDF
Tritanopia (blue-blind)
#FA84A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f17ce2;
/* rgb */ color: rgb(241, 124, 226);
/* oklch */ color: oklch(75.2% 0.187 332.3);
Tailwind
colors: {
  custom: {
    50: '#f8a6eb',
    500: '#f17ce2',
    950: '#000000',
  },
}
SCSS
$custom: #f17ce2;
$custom-light: #f8a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ce2",
  "rgb": {
    "r": 241,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 307.692,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75197,
    "c": 0.18735,
    "h": 332.3
  },
  "luminance": 0.38607
}

Semantic roles & 50–950 ramp

primary
#F17CE2
secondary
#D5F3D9
accent
#DD2408
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F17CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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