#F04DD9#F04DD9

#F04DD9 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 69.3% C 0.246 H 334.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#F04DD9
RGBrgb(240, 77, 217)
HSLhsl(308, 84%, 62%)
HSVhsv(308, 68%, 94%)
CMYKcmyk(0%, 67.9%, 9.6%, 5.9%)
CIE-LABlab(60.65, 76.23, -39.23)
CIE-LCHlch(60.65, 85.73, 332.77°)
OKLaboklab(69.31% 0.2211 -0.1073)
OKLCHoklch(69.31% 0.246 334.1)
XYZxyz(51.1138, 28.8470, 68.5082)
Luminance0.2884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DD9 #4DF064
analogous
#B54DF0 #F04DD9 #F04D88
triadic
#F04DD9 #D9F04D #4DD9F0
tetradic
#F04DD9 #F0B54D #4DF064 #4D88F0
square
#F04DD9 #F0B54D #4DF064 #4D88F0
split-complementary
#F04DD9 #88F04D #4DF0B5
monochromatic
#B30F9C #EB15CD #F04DD9 #F585E5 #FABEF1

Accessibility & contrast

On white

3.10
#F04DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#F04DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04DD9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DD9#FFFFFF#000000##000000
##F04DD91.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DD
Deuteranopia (green-blind)
#839BD5
Tritanopia (blue-blind)
#FB5A8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f04dd9;
/* rgb */ color: rgb(240, 77, 217);
/* oklch */ color: oklch(69.3% 0.246 334.1);
Tailwind
colors: {
  custom: {
    50: '#f98be5',
    500: '#f04dd9',
    950: '#000000',
  },
}
SCSS
$custom: #f04dd9;
$custom-light: #f98be5;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dd9",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 308.466,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.24573,
    "h": 334.1
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#F04DD9
secondary
#AEEAB7
accent
#E12405
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F04DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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