#F04DD8#F04DD8

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

Color values

HEX#F04DD8
RGBrgb(240, 77, 216)
HSLhsl(309, 84%, 62%)
HSVhsv(309, 68%, 94%)
CMYKcmyk(0%, 67.9%, 10%, 5.9%)
CIE-LABlab(60.60, 76.08, -38.74)
CIE-LCHlch(60.60, 85.38, 333.02°)
OKLaboklab(69.26% 0.221 -0.1058)
OKLCHoklch(69.26% 0.245 334.4)
XYZxyz(50.9842, 28.7952, 67.8252)
Luminance0.2879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DD8 #4DF065
analogous
#B64DF0 #F04DD8 #F04D87
triadic
#F04DD8 #D8F04D #4DD8F0
tetradic
#F04DD8 #F0B64D #4DF065 #4D87F0
square
#F04DD8 #F0B64D #4DF065 #4D87F0
split-complementary
#F04DD8 #87F04D #4DF0B6
monochromatic
#B30F9B #EB15CC #F04DD8 #F585E4 #FABEF1

Accessibility & contrast

On white

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

On black

6.76
#F04DD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04DD8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DD8#FFFFFF#000000##000000
##F04DD81.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DC
Deuteranopia (green-blind)
#839BD4
Tritanopia (blue-blind)
#FB5A8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f04dd8;
/* rgb */ color: rgb(240, 77, 216);
/* oklch */ color: oklch(69.3% 0.245 334.4);
Tailwind
colors: {
  custom: {
    50: '#f98be4',
    500: '#f04dd8',
    950: '#000000',
  },
}
SCSS
$custom: #f04dd8;
$custom-light: #f98be4;
$custom-dark: #000000;
JSON
{
  "hex": "#f04dd8",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 308.834,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.69256,
    "c": 0.24503,
    "h": 334.4
  },
  "luminance": 0.28791
}

Semantic roles & 50–950 ramp

primary
#F04DD8
secondary
#AEEAB7
accent
#E12505
background
#FFF9FE
surface
#FFF1FC
border
#D7CBD5
text
#180D15
muted
#867E84

Preview Lab

Preview with #F04DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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