#F17EE2#F17EE2

#F17EE2 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.5% C 0.184 H 332.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#F17EE2
RGBrgb(241, 126, 226)
HSLhsl(308, 80%, 72%)
HSVhsv(308, 48%, 95%)
CMYKcmyk(0%, 47.7%, 6.2%, 5.5%)
CIE-LABlab(68.84, 57.12, -31.50)
CIE-LCHlch(68.84, 65.23, 331.12°)
OKLaboklab(75.47% 0.1631 -0.0856)
OKLCHoklch(75.47% 0.184 332.3)
XYZxyz(57.4637, 39.1170, 76.4604)
Luminance0.3911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F17EE2 #7EF18D
analogous
#C77EF1 #F17EE2 #F17EA9
triadic
#F17EE2 #E2F17E #7EE2F1
tetradic
#F17EE2 #F1C77E #7EF18D #7EA9F1
square
#F17EE2 #F1C77E #7EF18D #7EA9F1
split-complementary
#F17EE2 #A9F17E #7EF1C7
monochromatic
#DD18C3 #EB47D6 #F17EE2 #F7B5EE #FCE3F9

Accessibility & contrast

On white

2.38
#F17EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#F17EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F17EE2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F17EE2#FFFFFF#000000##000000
##F17EE21.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#9BAEDF
Tritanopia (blue-blind)
#FA86A6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f17ee2;
/* rgb */ color: rgb(241, 126, 226);
/* oklch */ color: oklch(75.5% 0.184 332.3);
Tailwind
colors: {
  custom: {
    50: '#f8a7eb',
    500: '#f17ee2',
    950: '#000000',
  },
}
SCSS
$custom: #f17ee2;
$custom-light: #f8a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f17ee2",
  "rgb": {
    "r": 241,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 307.826,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7547,
    "c": 0.18415,
    "h": 332.3
  },
  "luminance": 0.39113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F17EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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