#F172F0#F172F0

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

Color values

HEX#F172F0
RGBrgb(241, 114, 240)
HSLhsl(300, 82%, 70%)
HSVhsv(300, 53%, 95%)
CMYKcmyk(0%, 52.7%, 0.4%, 5.5%)
CIE-LABlab(67.30, 65.10, -41.62)
CIE-LCHlch(67.30, 77.27, 327.41°)
OKLaboklab(74.53% 0.1814 -0.1144)
OKLCHoklch(74.53% 0.214 327.8)
XYZxyz(58.0202, 37.0301, 86.5127)
Luminance0.3703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172F0 #72F173
analogous
#B272F1 #F172F0 #F172B1
triadic
#F172F0 #F0F172 #72F0F1
tetradic
#F172F0 #F1B272 #72F173 #72B1F1
square
#F172F0 #F1B272 #72F173 #72B1F1
split-complementary
#F172F0 #B1F172 #72F1B2
monochromatic
#D415D2 #EB3AEA #F172F0 #F7AAF6 #FCE1FC

Accessibility & contrast

On white

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

On black

8.41
#F172F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172F0
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172F0#FFFFFF#000000##000000
##F172F01.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#F880A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f172f0;
/* rgb */ color: rgb(241, 114, 240);
/* oklch */ color: oklch(74.5% 0.214 327.8);
Tailwind
colors: {
  custom: {
    50: '#f8a0f5',
    500: '#f172f0',
    950: '#000000',
  },
}
SCSS
$custom: #f172f0;
$custom-light: #f8a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f172f0",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 300.472,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74527,
    "c": 0.21444,
    "h": 327.8
  },
  "luminance": 0.37027
}

Semantic roles & 50–950 ramp

primary
#F172F0
secondary
#CDF2CE
accent
#DE0907
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F172F0

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

Preview Lab → · Contrast checker → · Palette generator →

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