#F17DF2#F17DF2

#F17DF2 is a light, vivid purple. Relative luminance 0.398; OKLCH L 76.0% C 0.199 H 327.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F17DF2
RGBrgb(241, 125, 242)
HSLhsl(299, 82%, 72%)
HSVhsv(299, 48%, 95%)
CMYKcmyk(0.4%, 48.3%, 0%, 5.1%)
CIE-LABlab(69.31, 60.31, -39.57)
CIE-LCHlch(69.31, 72.14, 326.73°)
OKLaboklab(76.04% 0.1672 -0.1086)
OKLCHoklch(76.04% 0.199 327)
XYZxyz(59.6352, 39.7820, 88.5247)
Luminance0.3978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17DF2 #7EF27D
analogous
#B77DF2 #F17DF2 #F27DB9
triadic
#F17DF2 #F2F17D #7DF2F1
tetradic
#F17DF2 #F2B77D #7EF27D #7DB9F2
square
#F17DF2 #F2B77D #7EF27D #7DB9F2
split-complementary
#F17DF2 #B9F27D #7DF2B7
monochromatic
#DD16DE #EB45EC #F17DF2 #F7B5F8 #FCE3FC

Accessibility & contrast

On white

2.34
#F17DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F17DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17DF2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17DF2#FFFFFF#000000##000000
##F17DF21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#94AFEE
Tritanopia (blue-blind)
#F78AAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f17df2;
/* rgb */ color: rgb(241, 125, 242);
/* oklch */ color: oklch(76.0% 0.199 327.0);
Tailwind
colors: {
  custom: {
    50: '#f8a7f6',
    500: '#f17df2',
    950: '#000000',
  },
}
SCSS
$custom: #f17df2;
$custom-light: #f8a7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f17df2",
  "rgb": {
    "r": 241,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 299.487,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.76041,
    "c": 0.1994,
    "h": 327
  },
  "luminance": 0.39779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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