#F074E2#F074E2

#F074E2 is a light, vivid purple. Relative luminance 0.365; OKLCH L 74.0% C 0.199 H 331.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F074E2
RGBrgb(240, 116, 226)
HSLhsl(307, 81%, 70%)
HSVhsv(307, 52%, 94%)
CMYKcmyk(0%, 51.7%, 5.8%, 5.9%)
CIE-LABlab(66.91, 61.57, -34.50)
CIE-LCHlch(66.91, 70.58, 330.74°)
OKLaboklab(74.01% 0.1756 -0.094)
OKLCHoklch(74.01% 0.199 331.8)
XYZxyz(55.9078, 36.5107, 76.0393)
Luminance0.3651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074E2 #74F082
analogous
#C074F0 #F074E2 #F074A4
triadic
#F074E2 #E2F074 #74E2F0
tetradic
#F074E2 #F0C074 #74F082 #74A4F0
square
#F074E2 #F0C074 #74F082 #74A4F0
split-complementary
#F074E2 #A4F074 #74F0C0
monochromatic
#D317BE #EA3DD6 #F074E2 #F6ABEE #FCE2F9

Accessibility & contrast

On white

2.53
#F074E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F074E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074E2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074E2#FFFFFF#000000##000000
##F074E21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#94A9DE
Tritanopia (blue-blind)
#F97DA1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f074e2;
/* rgb */ color: rgb(240, 116, 226);
/* oklch */ color: oklch(74.0% 0.199 331.8);
Tailwind
colors: {
  custom: {
    50: '#f7a1eb',
    500: '#f074e2',
    950: '#000000',
  },
}
SCSS
$custom: #f074e2;
$custom-light: #f7a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f074e2",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 306.774,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74014,
    "c": 0.1992,
    "h": 331.8
  },
  "luminance": 0.36507
}

Semantic roles & 50–950 ramp

primary
#F074E2
secondary
#CEF1D2
accent
#DD2109
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F074E2

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

Preview Lab → · Contrast checker → · Palette generator →

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