#F04FDB#F04FDB

#F04FDB is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.6% C 0.245 H 333.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#F04FDB
RGBrgb(240, 79, 219)
HSLhsl(308, 84%, 63%)
HSVhsv(308, 67%, 94%)
CMYKcmyk(0%, 67.1%, 8.8%, 5.9%)
CIE-LABlab(60.99, 75.82, -39.82)
CIE-LCHlch(60.99, 85.64, 332.29°)
OKLaboklab(69.58% 0.2192 -0.109)
OKLCHoklch(69.58% 0.245 333.6)
XYZxyz(51.5176, 29.2359, 69.9339)
Luminance0.2923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FDB #4FF064
analogous
#B44FF0 #F04FDB #F04F8B
triadic
#F04FDB #DBF04F #4FDBF0
tetradic
#F04FDB #F0B44F #4FF064 #4F8BF0
square
#F04FDB #F0B44F #4FF064 #4F8BF0
split-complementary
#F04FDB #8BF04F #4FF0B4
monochromatic
#B50FA0 #EB17CF #F04FDB #F587E7 #FAC0F2

Accessibility & contrast

On white

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

On black

6.85
#F04FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FDB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FDB#FFFFFF#000000##000000
##F04FDB1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#839CD7
Tritanopia (blue-blind)
#FB5D8F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f04fdb;
/* rgb */ color: rgb(240, 79, 219);
/* oklch */ color: oklch(69.6% 0.245 333.6);
Tailwind
colors: {
  custom: {
    50: '#f98ce6',
    500: '#f04fdb',
    950: '#000000',
  },
}
SCSS
$custom: #f04fdb;
$custom-light: #f98ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fdb",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 307.826,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.24479,
    "h": 333.6
  },
  "luminance": 0.29232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F04FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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