#F04FD8#F04FD8

#F04FD8 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.4% C 0.243 H 334.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#F04FD8
RGBrgb(240, 79, 216)
HSLhsl(309, 84%, 63%)
HSVhsv(309, 67%, 94%)
CMYKcmyk(0%, 67.1%, 10%, 5.9%)
CIE-LABlab(60.85, 75.38, -38.34)
CIE-LCHlch(60.85, 84.57, 333.04°)
OKLaboklab(69.44% 0.2189 -0.1047)
OKLCHoklch(69.44% 0.243 334.4)
XYZxyz(51.1263, 29.0794, 67.8726)
Luminance0.2908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FD8 #4FF067
analogous
#B74FF0 #F04FD8 #F04F88
triadic
#F04FD8 #D8F04F #4FD8F0
tetradic
#F04FD8 #F0B74F #4FF067 #4F88F0
square
#F04FD8 #F0B74F #4FF067 #4F88F0
split-complementary
#F04FD8 #88F04F #4FF0B7
monochromatic
#B50F9C #EB17CC #F04FD8 #F587E4 #FAC0F1

Accessibility & contrast

On white

3.08
#F04FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#F04FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FD8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FD8#FFFFFF#000000##000000
##F04FD81.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D84DC
Deuteranopia (green-blind)
#849BD4
Tritanopia (blue-blind)
#FB5B8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f04fd8;
/* rgb */ color: rgb(240, 79, 216);
/* oklch */ color: oklch(69.4% 0.243 334.4);
Tailwind
colors: {
  custom: {
    50: '#f98ce4',
    500: '#f04fd8',
    950: '#000000',
  },
}
SCSS
$custom: #f04fd8;
$custom-light: #f98ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fd8",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 308.944,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69438,
    "c": 0.24268,
    "h": 334.4
  },
  "luminance": 0.29075
}

Semantic roles & 50–950 ramp

primary
#F04FD8
secondary
#B0EBB9
accent
#E12605
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D15
muted
#867E84

Preview Lab

Preview with #F04FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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