#F17CE4#F17CE4

#F17CE4 is a light, vivid purple. Relative luminance 0.387; OKLCH L 75.3% C 0.189 H 331.6°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#F17CE4
RGBrgb(241, 124, 228)
HSLhsl(307, 81%, 72%)
HSVhsv(307, 49%, 95%)
CMYKcmyk(0%, 48.5%, 5.4%, 5.5%)
CIE-LABlab(68.55, 58.41, -33.05)
CIE-LCHlch(68.55, 67.11, 330.50°)
OKLaboklab(75.28% 0.1662 -0.09)
OKLCHoklch(75.28% 0.189 331.6)
XYZxyz(57.4865, 38.7210, 77.8297)
Luminance0.3872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17CE4 #7CF189
analogous
#C47CF1 #F17CE4 #F17CAA
triadic
#F17CE4 #E4F17C #7CE4F1
tetradic
#F17CE4 #F1C47C #7CF189 #7CAAF1
square
#F17CE4 #F1C47C #7CF189 #7CAAF1
split-complementary
#F17CE4 #AAF17C #7CF1C4
monochromatic
#DB17C5 #EB45D9 #F17CE4 #F7B3EF #FCE3F9

Accessibility & contrast

On white

2.40
#F17CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#F17CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17CE4
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17CE4#FFFFFF#000000##000000
##F17CE41.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#789DE8
Deuteranopia (green-blind)
#99ADE1
Tritanopia (blue-blind)
#F985A6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f17ce4;
/* rgb */ color: rgb(241, 124, 228);
/* oklch */ color: oklch(75.3% 0.189 331.6);
Tailwind
colors: {
  custom: {
    50: '#f8a6ec',
    500: '#f17ce4',
    950: '#000000',
  },
}
SCSS
$custom: #f17ce4;
$custom-light: #f8a6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ce4",
  "rgb": {
    "r": 241,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 306.667,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75283,
    "c": 0.189,
    "h": 331.6
  },
  "luminance": 0.38718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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