#F074DC#F074DC

#F074DC is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.8% C 0.194 H 333.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#F074DC
RGBrgb(240, 116, 220)
HSLhsl(310, 81%, 70%)
HSVhsv(310, 52%, 94%)
CMYKcmyk(0%, 51.7%, 8.3%, 5.9%)
CIE-LABlab(66.66, 60.60, -31.54)
CIE-LCHlch(66.66, 68.32, 332.50°)
OKLaboklab(73.75% 0.1745 -0.0856)
OKLCHoklch(73.75% 0.194 333.9)
XYZxyz(55.0989, 36.1871, 71.7790)
Luminance0.3618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074DC #74F088
analogous
#C674F0 #F074DC #F0749E
triadic
#F074DC #DCF074 #74DCF0
tetradic
#F074DC #F0C674 #74F088 #749EF0
square
#F074DC #F0C674 #74F088 #749EF0
split-complementary
#F074DC #9EF074 #74F0C6
monochromatic
#D317B5 #EA3DCE #F074DC #F6ABEA #FCE2F8

Accessibility & contrast

On white

2.55
#F074DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#F074DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074DC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074DC#FFFFFF#000000##000000
##F074DC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DF
Deuteranopia (green-blind)
#97A9D9
Tritanopia (blue-blind)
#FA7C9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f074dc;
/* rgb */ color: rgb(240, 116, 220);
/* oklch */ color: oklch(73.8% 0.194 333.9);
Tailwind
colors: {
  custom: {
    50: '#f7a1e7',
    500: '#f074dc',
    950: '#000000',
  },
}
SCSS
$custom: #f074dc;
$custom-light: #f7a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f074dc",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 309.677,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73752,
    "c": 0.19441,
    "h": 333.9
  },
  "luminance": 0.36183
}

Semantic roles & 50–950 ramp

primary
#F074DC
secondary
#CEF1D4
accent
#DD2B09
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F074DC

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

Preview Lab → · Contrast checker → · Palette generator →

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