#F172E7#F172E7

#F172E7 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.1% C 0.207 H 330.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F172E7
RGBrgb(241, 114, 231)
HSLhsl(305, 82%, 70%)
HSVhsv(305, 53%, 95%)
CMYKcmyk(0%, 52.7%, 4.1%, 5.5%)
CIE-LABlab(66.91, 63.59, -37.26)
CIE-LCHlch(66.91, 73.70, 329.63°)
OKLaboklab(74.11% 0.1801 -0.1019)
OKLCHoklch(74.11% 0.207 330.5)
XYZxyz(56.7163, 36.5085, 79.6454)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172E7 #72F17C
analogous
#BB72F1 #F172E7 #F172A8
triadic
#F172E7 #E7F172 #72E7F1
tetradic
#F172E7 #F1BB72 #72F17C #72A8F1
square
#F172E7 #F1BB72 #72F17C #72A8F1
split-complementary
#F172E7 #A8F172 #72F1BB
monochromatic
#D415C5 #EB3ADE #F172E7 #F7AAF0 #FCE1FA

Accessibility & contrast

On white

2.53
#F172E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F172E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172E7
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172E7#FFFFFF#000000##000000
##F172E71.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EB
Deuteranopia (green-blind)
#92A9E3
Tritanopia (blue-blind)
#F97DA2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f172e7;
/* rgb */ color: rgb(241, 114, 231);
/* oklch */ color: oklch(74.1% 0.207 330.5);
Tailwind
colors: {
  custom: {
    50: '#f8a0ef',
    500: '#f172e7',
    950: '#000000',
  },
}
SCSS
$custom: #f172e7;
$custom-light: #f8a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f172e7",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 304.724,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74109,
    "c": 0.20696,
    "h": 330.5
  },
  "luminance": 0.36505
}

Semantic roles & 50–950 ramp

primary
#F172E7
secondary
#CDF2D0
accent
#DE1807
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F172E7

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

Preview Lab → · Contrast checker → · Palette generator →

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