#F074FB#F074FB

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

Color values

HEX#F074FB
RGBrgb(240, 116, 251)
HSLhsl(295, 94%, 72%)
HSVhsv(295, 54%, 98%)
CMYKcmyk(4.4%, 53.8%, 0%, 1.6%)
CIE-LABlab(68.01, 65.83, -46.56)
CIE-LCHlch(68.01, 80.64, 324.73°)
OKLaboklab(75.18% 0.179 -0.1287)
OKLCHoklch(75.18% 0.22 324.3)
XYZxyz(59.5916, 37.9842, 95.4409)
Luminance0.3798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074FB #7FFB74
analogous
#AD74FB #F074FB #FB74C3
triadic
#F074FB #FBF074 #74FBF0
tetradic
#F074FB #FBAD74 #7FFB74 #74C3FB
square
#F074FB #FBAD74 #7FFB74 #74C3FB
split-complementary
#F074FB #C3FB74 #74FBAD
monochromatic
#DB07EE #EA39F9 #F074FB #F6AFFD #FCE1FE

Accessibility & contrast

On white

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

On black

8.60
#F074FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074FB
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074FB#FFFFFF#000000##000000
##F074FB1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#89ABF7
Tritanopia (blue-blind)
#F486AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f074fb;
/* rgb */ color: rgb(240, 116, 251);
/* oklch */ color: oklch(75.2% 0.220 324.3);
Tailwind
colors: {
  custom: {
    50: '#f8a1fd',
    500: '#f074fb',
    950: '#000000',
  },
}
SCSS
$custom: #f074fb;
$custom-light: #f8a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f074fb",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 295.111,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75184,
    "c": 0.22046,
    "h": 324.3
  },
  "luminance": 0.37981
}

Semantic roles & 50–950 ramp

primary
#F074FB
secondary
#D7F6D4
accent
#E60013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F074FB

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

Preview Lab → · Contrast checker → · Palette generator →

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