#F074FA#F074FA

#F074FA is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.1% C 0.220 H 324.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#F074FA
RGBrgb(240, 116, 250)
HSLhsl(296, 93%, 72%)
HSVhsv(296, 54%, 98%)
CMYKcmyk(4%, 53.6%, 0%, 2%)
CIE-LABlab(67.96, 65.66, -46.09)
CIE-LCHlch(67.96, 80.22, 324.93°)
OKLaboklab(75.13% 0.1789 -0.1273)
OKLCHoklch(75.13% 0.22 324.6)
XYZxyz(59.4344, 37.9213, 94.6129)
Luminance0.3792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074FA #7EFA74
analogous
#AD74FA #F074FA #FA74C1
triadic
#F074FA #FAF074 #74FAF0
tetradic
#F074FA #FAAD74 #7EFA74 #74C1FA
square
#F074FA #FAAD74 #7EFA74 #74C1FA
split-complementary
#F074FA #C1FA74 #74FAAD
monochromatic
#DA08EB #EA39F8 #F074FA #F6AFFC #FCE1FE

Accessibility & contrast

On white

2.45
#F074FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#F074FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074FA
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074FA#FFFFFF#000000##000000
##F074FA1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#F585AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f074fa;
/* rgb */ color: rgb(240, 116, 250);
/* oklch */ color: oklch(75.1% 0.220 324.6);
Tailwind
colors: {
  custom: {
    50: '#f8a1fc',
    500: '#f074fa',
    950: '#000000',
  },
}
SCSS
$custom: #f074fa;
$custom-light: #f8a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f074fa",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 295.522,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75135,
    "c": 0.21957,
    "h": 324.6
  },
  "luminance": 0.37918
}

Semantic roles & 50–950 ramp

primary
#F074FA
secondary
#D6F6D4
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F074FA

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

Preview Lab → · Contrast checker → · Palette generator →

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