#F172F2#F172F2

#F172F2 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.6% C 0.216 H 327.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#F172F2
RGBrgb(241, 114, 242)
HSLhsl(300, 83%, 70%)
HSVhsv(300, 53%, 95%)
CMYKcmyk(0.4%, 52.9%, 0%, 5.1%)
CIE-LABlab(67.39, 65.44, -42.58)
CIE-LCHlch(67.39, 78.07, 326.95°)
OKLaboklab(74.62% 0.1816 -0.1172)
OKLCHoklch(74.62% 0.216 327.2)
XYZxyz(58.3190, 37.1496, 88.0860)
Luminance0.3715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172F2 #73F272
analogous
#B172F2 #F172F2 #F272B3
triadic
#F172F2 #F2F172 #72F2F1
tetradic
#F172F2 #F2B172 #73F272 #72B3F2
square
#F172F2 #F2B172 #73F272 #72B3F2
split-complementary
#F172F2 #B3F272 #72F2B1
monochromatic
#D414D6 #EB3AED #F172F2 #F7AAF7 #FCE2FC

Accessibility & contrast

On white

2.49
#F172F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#F172F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172F2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172F2#FFFFFF#000000##000000
##F172F21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#F781A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f172f2;
/* rgb */ color: rgb(241, 114, 242);
/* oklch */ color: oklch(74.6% 0.216 327.2);
Tailwind
colors: {
  custom: {
    50: '#f8a0f7',
    500: '#f172f2',
    950: '#000000',
  },
}
SCSS
$custom: #f172f2;
$custom-light: #f8a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f172f2",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 299.531,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74622,
    "c": 0.21614,
    "h": 327.2
  },
  "luminance": 0.37146
}

Semantic roles & 50–950 ramp

primary
#F172F2
secondary
#CEF2CE
accent
#E00608
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F172F2

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

Preview Lab → · Contrast checker → · Palette generator →

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