#F074F8#F074F8

#F074F8 is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 75.0% C 0.218 H 325.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#F074F8
RGBrgb(240, 116, 248)
HSLhsl(296, 90%, 71%)
HSVhsv(296, 53%, 97%)
CMYKcmyk(3.2%, 53.2%, 0%, 2.7%)
CIE-LABlab(67.87, 65.31, -45.14)
CIE-LCHlch(67.87, 79.39, 325.35°)
OKLaboklab(75.04% 0.1787 -0.1245)
OKLCHoklch(75.04% 0.218 325.1)
XYZxyz(59.1225, 37.7965, 92.9700)
Luminance0.3779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074F8 #7CF874
analogous
#AE74F8 #F074F8 #F874BE
triadic
#F074F8 #F8F074 #74F8F0
tetradic
#F074F8 #F8AE74 #7CF874 #74BEF8
square
#F074F8 #F8AE74 #7CF874 #74BEF8
split-complementary
#F074F8 #BEF874 #74F8AE
monochromatic
#D90CE6 #EA3AF5 #F074F8 #F6AEFB #FCE2FE

Accessibility & contrast

On white

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

On black

8.56
#F074F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074F8
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074F8#FFFFFF#000000##000000
##F074F81.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#F585AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f074f8;
/* rgb */ color: rgb(240, 116, 248);
/* oklch */ color: oklch(75.0% 0.218 325.1);
Tailwind
colors: {
  custom: {
    50: '#f8a1fb',
    500: '#f074f8',
    950: '#000000',
  },
}
SCSS
$custom: #f074f8;
$custom-light: #f8a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f074f8",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 296.364,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75037,
    "c": 0.21781,
    "h": 325.1
  },
  "luminance": 0.37793
}

Semantic roles & 50–950 ramp

primary
#F074F8
secondary
#D5F5D3
accent
#E6000E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F074F8

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

Preview Lab → · Contrast checker → · Palette generator →

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