#F074F5#F074F5

#F074F5 is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 74.9% C 0.215 H 326.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#F074F5
RGBrgb(240, 116, 245)
HSLhsl(298, 87%, 71%)
HSVhsv(298, 53%, 96%)
CMYKcmyk(2%, 52.7%, 0%, 3.9%)
CIE-LABlab(67.73, 64.78, -43.70)
CIE-LCHlch(67.73, 78.14, 326.00°)
OKLaboklab(74.89% 0.1783 -0.1204)
OKLCHoklch(74.89% 0.215 326)
XYZxyz(58.6608, 37.6119, 90.5385)
Luminance0.3761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074F5 #79F574
analogous
#AF74F5 #F074F5 #F574BA
triadic
#F074F5 #F5F074 #74F5F0
tetradic
#F074F5 #F5AF74 #79F574 #74BAF5
square
#F074F5 #F5AF74 #79F574 #74BAF5
split-complementary
#F074F5 #BAF574 #74F5AF
monochromatic
#D710DF #EA3BF1 #F074F5 #F6ADF9 #FCE2FD

Accessibility & contrast

On white

2.46
#F074F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#F074F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074F5
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074F5#FFFFFF#000000##000000
##F074F51.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#8CABF1
Tritanopia (blue-blind)
#F684AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f074f5;
/* rgb */ color: rgb(240, 116, 245);
/* oklch */ color: oklch(74.9% 0.215 326.0);
Tailwind
colors: {
  custom: {
    50: '#f8a1f9',
    500: '#f074f5',
    950: '#000000',
  },
}
SCSS
$custom: #f074f5;
$custom-light: #f8a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#f074f5",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 297.674,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74892,
    "c": 0.21519,
    "h": 326
  },
  "luminance": 0.37609
}

Semantic roles & 50–950 ramp

primary
#F074F5
secondary
#D2F4D1
accent
#E3020B
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F074F5

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

Preview Lab → · Contrast checker → · Palette generator →

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