#F074FE#F074FE

#F074FE is a light, highly saturated purple. Relative luminance 0.382; OKLCH L 75.3% C 0.223 H 323.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#F074FE
RGBrgb(240, 116, 254)
HSLhsl(294, 99%, 73%)
HSVhsv(294, 54%, 100%)
CMYKcmyk(5.5%, 54.3%, 0%, 0.4%)
CIE-LABlab(68.15, 66.37, -47.98)
CIE-LCHlch(68.15, 81.90, 324.13°)
OKLaboklab(75.33% 0.1793 -0.1328)
OKLCHoklch(75.33% 0.223 323.5)
XYZxyz(60.0683, 38.1748, 97.9512)
Luminance0.3817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074FE #82FE74
analogous
#AB74FE #F074FE #FE74C7
triadic
#F074FE #FEF074 #74FEF0
tetradic
#F074FE #FEAB74 #82FE74 #74C7FE
square
#F074FE #FEAB74 #82FE74 #74C7FE
split-complementary
#F074FE #C7FE74 #74FEAB
monochromatic
#DD02F6 #E937FE #F074FE #F7B1FE #FCE1FF

Accessibility & contrast

On white

2.43
#F074FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#F074FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074FE
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074FE#FFFFFF#000000##000000
##F074FE1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#88ABFA
Tritanopia (blue-blind)
#F487AF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f074fe;
/* rgb */ color: rgb(240, 116, 254);
/* oklch */ color: oklch(75.3% 0.223 323.5);
Tailwind
colors: {
  custom: {
    50: '#f8a1ff',
    500: '#f074fe',
    950: '#000000',
  },
}
SCSS
$custom: #f074fe;
$custom-light: #f8a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f074fe",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 293.913,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75333,
    "c": 0.22311,
    "h": 323.5
  },
  "luminance": 0.38172
}

Semantic roles & 50–950 ramp

primary
#F074FE
secondary
#D7F7D4
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F074FE

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

Preview Lab → · Contrast checker → · Palette generator →

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