#F172E8#F172E8

#F172E8 is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.2% C 0.208 H 330.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#F172E8
RGBrgb(241, 114, 232)
HSLhsl(304, 82%, 70%)
HSVhsv(304, 53%, 95%)
CMYKcmyk(0%, 52.7%, 3.7%, 5.5%)
CIE-LABlab(66.95, 63.76, -37.75)
CIE-LCHlch(66.95, 74.09, 329.37°)
OKLaboklab(74.16% 0.1803 -0.1033)
OKLCHoklch(74.16% 0.208 330.2)
XYZxyz(56.8579, 36.5652, 80.3913)
Luminance0.3656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172E8 #72F17B
analogous
#BB72F1 #F172E8 #F172A9
triadic
#F172E8 #E8F172 #72E8F1
tetradic
#F172E8 #F1BB72 #72F17B #72A9F1
square
#F172E8 #F1BB72 #72F17B #72A9F1
split-complementary
#F172E8 #A9F172 #72F1BB
monochromatic
#D415C6 #EB3ADF #F172E8 #F7AAF1 #FCE1FA

Accessibility & contrast

On white

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

On black

8.31
#F172E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172E8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172E8#FFFFFF#000000##000000
##F172E81.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EC
Deuteranopia (green-blind)
#91A9E4
Tritanopia (blue-blind)
#F97DA3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f172e8;
/* rgb */ color: rgb(241, 114, 232);
/* oklch */ color: oklch(74.2% 0.208 330.2);
Tailwind
colors: {
  custom: {
    50: '#f8a0ef',
    500: '#f172e8',
    950: '#000000',
  },
}
SCSS
$custom: #f172e8;
$custom-light: #f8a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f172e8",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 304.252,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74155,
    "c": 0.20778,
    "h": 330.2
  },
  "luminance": 0.36562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172E8

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

Preview Lab → · Contrast checker → · Palette generator →

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