#F24AFF#F24AFF

#F24AFF is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 71.3% C 0.278 H 324.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#F24AFF
RGBrgb(242, 74, 255)
HSLhsl(296, 100%, 65%)
HSVhsv(296, 71%, 100%)
CMYKcmyk(5.1%, 71%, 0%, 0%)
CIE-LABlab(62.51, 83.54, -57.46)
CIE-LCHlch(62.51, 101.39, 325.48°)
OKLaboklab(71.32% 0.2271 -0.16)
OKLCHoklch(71.32% 0.278 324.8)
XYZxyz(57.1153, 30.9984, 97.5633)
Luminance0.3100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F24AFF #57FF4A
analogous
#984AFF #F24AFF #FF4AB1
triadic
#F24AFF #FFF24A #4AFFF2
tetradic
#F24AFF #FF984A #57FF4A #4AB1FF
square
#F24AFF #FF984A #57FF4A #4AB1FF
split-complementary
#F24AFF #B1FF4A #4AFF98
monochromatic
#C000CF #EE0DFF #F24AFF #F687FF #FBC4FF

Accessibility & contrast

On white

2.92
#F24AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#F24AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F24AFF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F24AFF#FFFFFF#000000##000000
##F24AFF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#088AFF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#F769A1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f24aff;
/* rgb */ color: rgb(242, 74, 255);
/* oklch */ color: oklch(71.3% 0.278 324.8);
Tailwind
colors: {
  custom: {
    50: '#fb8bff',
    500: '#f24aff',
    950: '#000000',
  },
}
SCSS
$custom: #f24aff;
$custom-light: #fb8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#f24aff",
  "rgb": {
    "r": 242,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 295.691,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71319,
    "c": 0.27779,
    "h": 324.8
  },
  "luminance": 0.30995
}

Semantic roles & 50–950 ramp

primary
#F24AFF
secondary
#B8F2B3
accent
#E60010
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#180D18
muted
#867E86

Preview Lab

Preview with #F24AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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