#F04FDA#F04FDA

#F04FDA is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.5% C 0.244 H 333.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#F04FDA
RGBrgb(240, 79, 218)
HSLhsl(308, 84%, 63%)
HSVhsv(308, 67%, 94%)
CMYKcmyk(0%, 67.1%, 9.2%, 5.9%)
CIE-LABlab(60.94, 75.67, -39.33)
CIE-LCHlch(60.94, 85.28, 332.54°)
OKLaboklab(69.54% 0.2191 -0.1076)
OKLCHoklch(69.54% 0.244 333.9)
XYZxyz(51.3864, 29.1834, 69.2426)
Luminance0.2918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FDA #4FF065
analogous
#B64FF0 #F04FDA #F04F89
triadic
#F04FDA #DAF04F #4FDAF0
tetradic
#F04FDA #F0B64F #4FF065 #4F89F0
square
#F04FDA #F0B64F #4FF065 #4F89F0
split-complementary
#F04FDA #89F04F #4FF0B6
monochromatic
#B50F9F #EB17CE #F04FDA #F587E6 #FAC0F2

Accessibility & contrast

On white

3.07
#F04FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#F04FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FDA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FDA#FFFFFF#000000##000000
##F04FDA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DE
Deuteranopia (green-blind)
#839BD6
Tritanopia (blue-blind)
#FB5C8E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f04fda;
/* rgb */ color: rgb(240, 79, 218);
/* oklch */ color: oklch(69.5% 0.244 333.9);
Tailwind
colors: {
  custom: {
    50: '#f98ce6',
    500: '#f04fda',
    950: '#000000',
  },
}
SCSS
$custom: #f04fda;
$custom-light: #f98ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fda",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 308.199,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69535,
    "c": 0.24409,
    "h": 333.9
  },
  "luminance": 0.29179
}

Semantic roles & 50–950 ramp

primary
#F04FDA
secondary
#B0EBB8
accent
#E12305
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F04FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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