#F074E4#F074E4

#F074E4 is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.1% C 0.201 H 331.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#F074E4
RGBrgb(240, 116, 228)
HSLhsl(306, 81%, 70%)
HSVhsv(306, 52%, 94%)
CMYKcmyk(0%, 51.7%, 5%, 5.9%)
CIE-LABlab(66.99, 61.90, -35.48)
CIE-LCHlch(66.99, 71.35, 330.18°)
OKLaboklab(74.1% 0.1759 -0.0968)
OKLCHoklch(74.1% 0.201 331.2)
XYZxyz(56.1838, 36.6211, 77.4931)
Luminance0.3662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074E4 #74F080
analogous
#BE74F0 #F074E4 #F074A6
triadic
#F074E4 #E4F074 #74E4F0
tetradic
#F074E4 #F0BE74 #74F080 #74A6F0
square
#F074E4 #F0BE74 #74F080 #74A6F0
split-complementary
#F074E4 #A6F074 #74F0BE
monochromatic
#D317C1 #EA3DD9 #F074E4 #F6ABEF #FCE2F9

Accessibility & contrast

On white

2.52
#F074E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#F074E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074E4
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074E4#FFFFFF#000000##000000
##F074E41.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F98E8
Deuteranopia (green-blind)
#93A9E0
Tritanopia (blue-blind)
#F87EA2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f074e4;
/* rgb */ color: rgb(240, 116, 228);
/* oklch */ color: oklch(74.1% 0.201 331.2);
Tailwind
colors: {
  custom: {
    50: '#f7a1ed',
    500: '#f074e4',
    950: '#000000',
  },
}
SCSS
$custom: #f074e4;
$custom-light: #f7a1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f074e4",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 305.806,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74103,
    "c": 0.20083,
    "h": 331.2
  },
  "luminance": 0.36617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F074E4

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

Preview Lab → · Contrast checker → · Palette generator →

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