#F074FC#F074FC

#F074FC is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.2% C 0.221 H 324.0°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#F074FC
RGBrgb(240, 116, 252)
HSLhsl(295, 96%, 72%)
HSVhsv(295, 54%, 99%)
CMYKcmyk(4.8%, 54%, 0%, 1.2%)
CIE-LABlab(68.06, 66.01, -47.04)
CIE-LCHlch(68.06, 81.06, 324.53°)
OKLaboklab(75.23% 0.1791 -0.13)
OKLCHoklch(75.23% 0.221 324)
XYZxyz(59.7497, 38.0474, 96.2733)
Luminance0.3804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074FC #80FC74
analogous
#AC74FC #F074FC #FC74C4
triadic
#F074FC #FCF074 #74FCF0
tetradic
#F074FC #FCAC74 #80FC74 #74C4FC
square
#F074FC #FCAC74 #80FC74 #74C4FC
split-complementary
#F074FC #C4FC74 #74FCAC
monochromatic
#DC05F0 #EA38FB #F074FC #F6B0FD #FCE1FE

Accessibility & contrast

On white

2.44
#F074FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#F074FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074FC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074FC#FFFFFF#000000##000000
##F074FC1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#F486AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f074fc;
/* rgb */ color: rgb(240, 116, 252);
/* oklch */ color: oklch(75.2% 0.221 324.0);
Tailwind
colors: {
  custom: {
    50: '#f8a1fe',
    500: '#f074fc',
    950: '#000000',
  },
}
SCSS
$custom: #f074fc;
$custom-light: #f8a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f074fc",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 294.706,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75233,
    "c": 0.22134,
    "h": 324
  },
  "luminance": 0.38044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F074FC

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

Preview Lab → · Contrast checker → · Palette generator →

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