#F17CF2#F17CF2

#F17CF2 is a light, highly saturated purple. Relative luminance 0.395; OKLCH L 75.9% C 0.201 H 327.0°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#F17CF2
RGBrgb(241, 124, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 49%, 95%)
CMYKcmyk(0.4%, 48.8%, 0%, 5.1%)
CIE-LABlab(69.13, 60.79, -39.85)
CIE-LCHlch(69.13, 72.69, 326.75°)
OKLaboklab(75.91% 0.1686 -0.1094)
OKLCHoklch(75.91% 0.201 327)
XYZxyz(59.5092, 39.5301, 88.4827)
Luminance0.3953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17CF2 #7DF27C
analogous
#B67CF2 #F17CF2 #F27CB8
triadic
#F17CF2 #F2F17C #7CF2F1
tetradic
#F17CF2 #F2B67C #7DF27C #7CB8F2
square
#F17CF2 #F2B67C #7DF27C #7CB8F2
split-complementary
#F17CF2 #B8F27C #7CF2B6
monochromatic
#DC16DE #EB44EC #F17CF2 #F7B4F8 #FCE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F17CF2#FFFFFF#000000##000000
##F17CF21.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)
#719FF6
Deuteranopia (green-blind)
#94AEEE
Tritanopia (blue-blind)
#F789AC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f17cf2;
/* rgb */ color: rgb(241, 124, 242);
/* oklch */ color: oklch(75.9% 0.201 327.0);
Tailwind
colors: {
  custom: {
    50: '#f8a6f6',
    500: '#f17cf2',
    950: '#000000',
  },
}
SCSS
$custom: #f17cf2;
$custom-light: #f8a6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f17cf2",
  "rgb": {
    "r": 241,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 299.492,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.20096,
    "h": 327
  },
  "luminance": 0.39527
}

Semantic roles & 50–950 ramp

primary
#F17CF2
secondary
#D6F4D6
accent
#DE0709
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F17CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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