#F17DE2#F17DE2

#F17DE2 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.3% C 0.186 H 332.3°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#F17DE2
RGBrgb(241, 125, 226)
HSLhsl(308, 81%, 72%)
HSVhsv(308, 48%, 95%)
CMYKcmyk(0%, 48.1%, 6.2%, 5.5%)
CIE-LABlab(68.65, 57.60, -31.79)
CIE-LCHlch(68.65, 65.79, 331.11°)
OKLaboklab(75.33% 0.1644 -0.0864)
OKLCHoklch(75.33% 0.186 332.3)
XYZxyz(57.3364, 38.8625, 76.4180)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17DE2 #7DF18C
analogous
#C67DF1 #F17DE2 #F17DA8
triadic
#F17DE2 #E2F17D #7DE2F1
tetradic
#F17DE2 #F1C67D #7DF18C #7DA8F1
square
#F17DE2 #F1C67D #7DF18C #7DA8F1
split-complementary
#F17DE2 #A8F17D #7DF1C6
monochromatic
#DC18C3 #EB46D6 #F17DE2 #F7B4EE #FCE3F9

Accessibility & contrast

On white

2.39
#F17DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#F17DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17DE2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17DE2#FFFFFF#000000##000000
##F17DE21.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9DE5
Deuteranopia (green-blind)
#9BADDF
Tritanopia (blue-blind)
#FA85A5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f17de2;
/* rgb */ color: rgb(241, 125, 226);
/* oklch */ color: oklch(75.3% 0.186 332.3);
Tailwind
colors: {
  custom: {
    50: '#f8a6eb',
    500: '#f17de2',
    950: '#000000',
  },
}
SCSS
$custom: #f17de2;
$custom-light: #f8a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f17de2",
  "rgb": {
    "r": 241,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 307.759,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75333,
    "c": 0.18575,
    "h": 332.3
  },
  "luminance": 0.38859
}

Semantic roles & 50–950 ramp

primary
#F17DE2
secondary
#D6F4DA
accent
#DD2409
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F17DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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