#F04DEF#F04DEF

#F04DEF is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.4% C 0.262 H 328.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#F04DEF
RGBrgb(240, 77, 239)
HSLhsl(300, 84%, 62%)
HSVhsv(300, 68%, 94%)
CMYKcmyk(0%, 67.9%, 0.4%, 5.9%)
CIE-LABlab(61.71, 79.57, -49.87)
CIE-LCHlch(61.71, 93.91, 327.92°)
OKLaboklab(70.42% 0.2223 -0.138)
OKLCHoklch(70.42% 0.262 328.2)
XYZxyz(54.1684, 30.0689, 84.5954)
Luminance0.3006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DEF #4DF04E
analogous
#A04DF0 #F04DEF #F04D9E
triadic
#F04DEF #EFF04D #4DEFF0
tetradic
#F04DEF #F0A04D #4DF04E #4D9EF0
square
#F04DEF #F0A04D #4DF04E #4D9EF0
split-complementary
#F04DEF #9EF04D #4DF0A0
monochromatic
#B30FB2 #EB15EA #F04DEF #F585F4 #FABEF9

Accessibility & contrast

On white

2.99
#F04DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#F04DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F04DEF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DEF#FFFFFF#000000##000000
##F04DEF1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F4
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#F76499
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f04def;
/* rgb */ color: rgb(240, 77, 239);
/* oklch */ color: oklch(70.4% 0.262 328.2);
Tailwind
colors: {
  custom: {
    50: '#f98cf5',
    500: '#f04def',
    950: '#000000',
  },
}
SCSS
$custom: #f04def;
$custom-light: #f98cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#f04def",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 239
  },
  "hsl": {
    "h": 300.368,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.70421,
    "c": 0.26166,
    "h": 328.2
  },
  "luminance": 0.30065
}

Semantic roles & 50–950 ramp

primary
#F04DEF
secondary
#AEEAAF
accent
#E10605
background
#FFF9FF
surface
#FFF1FE
border
#D7CBD6
text
#180D17
muted
#867E85

Preview Lab

Preview with #F04DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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