#F24FE7#F24FE7

#F24FE7 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.5% C 0.254 H 330.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#F24FE7
RGBrgb(242, 79, 231)
HSLhsl(304, 86%, 63%)
HSVhsv(304, 67%, 95%)
CMYKcmyk(0%, 67.4%, 4.5%, 5.1%)
CIE-LABlab(61.86, 78.08, -45.16)
CIE-LCHlch(61.86, 90.20, 329.96°)
OKLaboklab(70.46% 0.2221 -0.1243)
OKLCHoklch(70.46% 0.254 330.8)
XYZxyz(53.8376, 30.2428, 78.5877)
Luminance0.3024 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F24FE7 #4FF25A
analogous
#AB4FF2 #F24FE7 #F24F95
triadic
#F24FE7 #E7F24F #4FE7F2
tetradic
#F24FE7 #F2AB4F #4FF25A #4F95F2
square
#F24FE7 #F2AB4F #4FF25A #4F95F2
split-complementary
#F24FE7 #95F24F #4FF2AB
monochromatic
#B90EAD #EE16DF #F24FE7 #F688EF #FAC1F7

Accessibility & contrast

On white

2.98
#F24FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#F24FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F24FE7
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F24FE7#FFFFFF#000000##000000
##F24FE71.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4287EB
Deuteranopia (green-blind)
#7F9DE3
Tritanopia (blue-blind)
#FB6295
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f24fe7;
/* rgb */ color: rgb(242, 79, 231);
/* oklch */ color: oklch(70.5% 0.254 330.8);
Tailwind
colors: {
  custom: {
    50: '#fa8def',
    500: '#f24fe7',
    950: '#000000',
  },
}
SCSS
$custom: #f24fe7;
$custom-light: #fa8def;
$custom-dark: #000000;
JSON
{
  "hex": "#f24fe7",
  "rgb": {
    "r": 242,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 304.049,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.70459,
    "c": 0.25449,
    "h": 330.8
  },
  "luminance": 0.30239
}

Semantic roles & 50–950 ramp

primary
#F24FE7
secondary
#B1ECB5
accent
#E31203
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F24FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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