#F172ED#F172ED

#F172ED is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.4% C 0.212 H 328.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F172ED
RGBrgb(241, 114, 237)
HSLhsl(302, 82%, 70%)
HSVhsv(302, 53%, 95%)
CMYKcmyk(0%, 52.7%, 1.7%, 5.5%)
CIE-LABlab(67.17, 64.59, -40.17)
CIE-LCHlch(67.17, 76.06, 328.12°)
OKLaboklab(74.39% 0.181 -0.1102)
OKLCHoklch(74.39% 0.212 328.7)
XYZxyz(57.5783, 36.8533, 84.1850)
Luminance0.3685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172ED #72F176
analogous
#B672F1 #F172ED #F172AD
triadic
#F172ED #EDF172 #72EDF1
tetradic
#F172ED #F1B672 #72F176 #72ADF1
square
#F172ED #F1B672 #72F176 #72ADF1
split-complementary
#F172ED #ADF172 #72F1B6
monochromatic
#D415CE #EB3AE6 #F172ED #F7AAF4 #FCE1FB

Accessibility & contrast

On white

2.51
#F172ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#F172ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172ED
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172ED#FFFFFF#000000##000000
##F172ED1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#8FAAE9
Tritanopia (blue-blind)
#F87FA5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f172ed;
/* rgb */ color: rgb(241, 114, 237);
/* oklch */ color: oklch(74.4% 0.212 328.7);
Tailwind
colors: {
  custom: {
    50: '#f8a0f3',
    500: '#f172ed',
    950: '#000000',
  },
}
SCSS
$custom: #f172ed;
$custom-light: #f8a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#f172ed",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 301.89,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74386,
    "c": 0.21192,
    "h": 328.7
  },
  "luminance": 0.3685
}

Semantic roles & 50–950 ramp

primary
#F172ED
secondary
#CDF2CE
accent
#DE0E07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F172ED

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

Preview Lab → · Contrast checker → · Palette generator →

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