#F074E8#F074E8

#F074E8 is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.3% C 0.204 H 329.9°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F074E8
RGBrgb(240, 116, 232)
HSLhsl(304, 81%, 70%)
HSVhsv(304, 52%, 94%)
CMYKcmyk(0%, 51.7%, 3.3%, 5.9%)
CIE-LABlab(67.16, 62.57, -37.43)
CIE-LCHlch(67.16, 72.91, 329.11°)
OKLaboklab(74.28% 0.1766 -0.1024)
OKLCHoklch(74.28% 0.204 329.9)
XYZxyz(56.7455, 36.8457, 80.4514)
Luminance0.3684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F074E8 #74F07C
analogous
#BA74F0 #F074E8 #F074AA
triadic
#F074E8 #E8F074 #74E8F0
tetradic
#F074E8 #F0BA74 #74F07C #74AAF0
square
#F074E8 #F0BA74 #74F07C #74AAF0
split-complementary
#F074E8 #AAF074 #74F0BA
monochromatic
#D317C7 #EA3DDF #F074E8 #F6ABF1 #FCE2FA

Accessibility & contrast

On white

2.51
#F074E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#F074E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F074E8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F074E8#FFFFFF#000000##000000
##F074E81.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C99EC
Deuteranopia (green-blind)
#92AAE4
Tritanopia (blue-blind)
#F87FA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f074e8;
/* rgb */ color: rgb(240, 116, 232);
/* oklch */ color: oklch(74.3% 0.204 329.9);
Tailwind
colors: {
  custom: {
    50: '#f7a1ef',
    500: '#f074e8',
    950: '#000000',
  },
}
SCSS
$custom: #f074e8;
$custom-light: #f7a1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f074e8",
  "rgb": {
    "r": 240,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 303.871,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74283,
    "c": 0.20412,
    "h": 329.9
  },
  "luminance": 0.36842
}

Semantic roles & 50–950 ramp

primary
#F074E8
secondary
#CEF1D1
accent
#DD1609
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F074E8

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

Preview Lab → · Contrast checker → · Palette generator →

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