#F172EA#F172EA

#F172EA is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.2% C 0.209 H 329.6°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F172EA
RGBrgb(241, 114, 234)
HSLhsl(303, 82%, 70%)
HSVhsv(303, 53%, 95%)
CMYKcmyk(0%, 52.7%, 2.9%, 5.5%)
CIE-LABlab(67.04, 64.09, -38.72)
CIE-LCHlch(67.04, 74.88, 328.86°)
OKLaboklab(74.25% 0.1806 -0.1061)
OKLCHoklch(74.25% 0.209 329.6)
XYZxyz(57.1436, 36.6795, 81.8960)
Luminance0.3668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172EA #72F179
analogous
#B972F1 #F172EA #F172AB
triadic
#F172EA #EAF172 #72EAF1
tetradic
#F172EA #F1B972 #72F179 #72ABF1
square
#F172EA #F1B972 #72F179 #72ABF1
split-complementary
#F172EA #ABF172 #72F1B9
monochromatic
#D415C9 #EB3AE2 #F172EA #F7AAF2 #FCE1FB

Accessibility & contrast

On white

2.52
#F172EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F172EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172EA
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172EA#FFFFFF#000000##000000
##F172EA1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#90A9E6
Tritanopia (blue-blind)
#F97EA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f172ea;
/* rgb */ color: rgb(241, 114, 234);
/* oklch */ color: oklch(74.2% 0.209 329.6);
Tailwind
colors: {
  custom: {
    50: '#f8a0f1',
    500: '#f172ea',
    950: '#000000',
  },
}
SCSS
$custom: #f172ea;
$custom-light: #f8a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f172ea",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 303.307,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74247,
    "c": 0.20942,
    "h": 329.6
  },
  "luminance": 0.36676
}

Semantic roles & 50–950 ramp

primary
#F172EA
secondary
#CDF2CF
accent
#DE1307
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F172EA

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

Preview Lab → · Contrast checker → · Palette generator →

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