#F172EB#F172EB

#F172EB is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.3% C 0.210 H 329.3°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#F172EB
RGBrgb(241, 114, 235)
HSLhsl(303, 82%, 70%)
HSVhsv(303, 53%, 95%)
CMYKcmyk(0%, 52.7%, 2.5%, 5.5%)
CIE-LABlab(67.08, 64.25, -39.20)
CIE-LCHlch(67.08, 75.27, 328.61°)
OKLaboklab(74.29% 0.1807 -0.1075)
OKLCHoklch(74.29% 0.21 329.3)
XYZxyz(57.2877, 36.7371, 82.6547)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172EB #72F178
analogous
#B872F1 #F172EB #F172AB
triadic
#F172EB #EBF172 #72EBF1
tetradic
#F172EB #F1B872 #72F178 #72ABF1
square
#F172EB #F1B872 #72F178 #72ABF1
split-complementary
#F172EB #ABF172 #72F1B8
monochromatic
#D415CB #EB3AE3 #F172EB #F7AAF3 #FCE1FB

Accessibility & contrast

On white

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

On black

8.35
#F172EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172EB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172EB#FFFFFF#000000##000000
##F172EB1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#90A9E7
Tritanopia (blue-blind)
#F87EA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f172eb;
/* rgb */ color: rgb(241, 114, 235);
/* oklch */ color: oklch(74.3% 0.210 329.3);
Tailwind
colors: {
  custom: {
    50: '#f8a0f2',
    500: '#f172eb',
    950: '#000000',
  },
}
SCSS
$custom: #f172eb;
$custom-light: #f8a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f172eb",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 302.835,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74293,
    "c": 0.21025,
    "h": 329.3
  },
  "luminance": 0.36734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172EB

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

Preview Lab → · Contrast checker → · Palette generator →

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