#F172EF#F172EF

#F172EF is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.214 H 328.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#F172EF
RGBrgb(241, 114, 239)
HSLhsl(301, 82%, 70%)
HSVhsv(301, 53%, 95%)
CMYKcmyk(0%, 52.7%, 0.8%, 5.5%)
CIE-LABlab(67.26, 64.93, -41.14)
CIE-LCHlch(67.26, 76.86, 327.64°)
OKLaboklab(74.48% 0.1813 -0.113)
OKLCHoklch(74.48% 0.214 328.1)
XYZxyz(57.8721, 36.9708, 85.7325)
Luminance0.3697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172EF #72F174
analogous
#B472F1 #F172EF #F172B0
triadic
#F172EF #EFF172 #72EFF1
tetradic
#F172EF #F1B472 #72F174 #72B0F1
square
#F172EF #F1B472 #72F174 #72B0F1
split-complementary
#F172EF #B0F172 #72F1B4
monochromatic
#D415D1 #EB3AE9 #F172EF #F7AAF5 #FCE1FC

Accessibility & contrast

On white

2.50
#F172EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#F172EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172EF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172EF#FFFFFF#000000##000000
##F172EF1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#8EAAEB
Tritanopia (blue-blind)
#F880A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f172ef;
/* rgb */ color: rgb(241, 114, 239);
/* oklch */ color: oklch(74.5% 0.214 328.1);
Tailwind
colors: {
  custom: {
    50: '#f8a0f4',
    500: '#f172ef',
    950: '#000000',
  },
}
SCSS
$custom: #f172ef;
$custom-light: #f8a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f172ef",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 300.945,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7448,
    "c": 0.2136,
    "h": 328.1
  },
  "luminance": 0.36967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172EF

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

Preview Lab → · Contrast checker → · Palette generator →

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