#F04DD7#F04DD7

#F04DD7 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 69.2% C 0.244 H 334.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#F04DD7
RGBrgb(240, 77, 215)
HSLhsl(309, 84%, 62%)
HSVhsv(309, 68%, 94%)
CMYKcmyk(0%, 67.9%, 10.4%, 5.9%)
CIE-LABlab(60.55, 75.94, -38.25)
CIE-LCHlch(60.55, 85.03, 333.27°)
OKLaboklab(69.21% 0.2209 -0.1044)
OKLCHoklch(69.21% 0.244 334.7)
XYZxyz(50.8553, 28.7436, 67.1465)
Luminance0.2874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DD7 #4DF066
analogous
#B74DF0 #F04DD7 #F04D86
triadic
#F04DD7 #D7F04D #4DD7F0
tetradic
#F04DD7 #F0B74D #4DF066 #4D86F0
square
#F04DD7 #F0B74D #4DF066 #4D86F0
split-complementary
#F04DD7 #86F04D #4DF0B7
monochromatic
#B30F9A #EB15CA #F04DD7 #F585E4 #FABEF0

Accessibility & contrast

On white

3.11
#F04DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#F04DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04DD7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DD7#FFFFFF#000000##000000
##F04DD71.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#849BD3
Tritanopia (blue-blind)
#FB598C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f04dd7;
/* rgb */ color: rgb(240, 77, 215);
/* oklch */ color: oklch(69.2% 0.244 334.7);
Tailwind
colors: {
  custom: {
    50: '#f98be3',
    500: '#f04dd7',
    950: '#000000',
  },
}
SCSS
$custom: #f04dd7;
$custom-light: #f98be3;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dd7",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 309.202,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.69208,
    "c": 0.24434,
    "h": 334.7
  },
  "luminance": 0.28739
}

Semantic roles & 50–950 ramp

primary
#F04DD7
secondary
#AEEAB8
accent
#E12605
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F04DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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