#F172E5#F172E5

#F172E5 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.0% C 0.205 H 331.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F172E5
RGBrgb(241, 114, 229)
HSLhsl(306, 82%, 70%)
HSVhsv(306, 53%, 95%)
CMYKcmyk(0%, 52.7%, 5%, 5.5%)
CIE-LABlab(66.82, 63.26, -36.29)
CIE-LCHlch(66.82, 72.93, 330.16°)
OKLaboklab(74.02% 0.1798 -0.0991)
OKLCHoklch(74.02% 0.205 331.1)
XYZxyz(56.4355, 36.3962, 78.1662)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172E5 #72F17E
analogous
#BD72F1 #F172E5 #F172A6
triadic
#F172E5 #E5F172 #72E5F1
tetradic
#F172E5 #F1BD72 #72F17E #72A6F1
square
#F172E5 #F1BD72 #72F17E #72A6F1
split-complementary
#F172E5 #A6F172 #72F1BD
monochromatic
#D415C2 #EB3ADB #F172E5 #F7AAEF #FCE1FA

Accessibility & contrast

On white

2.54
#F172E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#F172E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172E5
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172E5#FFFFFF#000000##000000
##F172E51.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E9
Deuteranopia (green-blind)
#92A9E1
Tritanopia (blue-blind)
#F97CA1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f172e5;
/* rgb */ color: rgb(241, 114, 229);
/* oklch */ color: oklch(74.0% 0.205 331.1);
Tailwind
colors: {
  custom: {
    50: '#f8a0ed',
    500: '#f172e5',
    950: '#000000',
  },
}
SCSS
$custom: #f172e5;
$custom-light: #f8a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f172e5",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 305.669,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74019,
    "c": 0.20533,
    "h": 331.1
  },
  "luminance": 0.36393
}

Semantic roles & 50–950 ramp

primary
#F172E5
secondary
#CDF2D1
accent
#DE1C07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F172E5

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

Preview Lab → · Contrast checker → · Palette generator →

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