#F04FF4#F04FF4

#F04FF4 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.9% C 0.263 H 326.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#F04FF4
RGBrgb(240, 79, 244)
HSLhsl(299, 88%, 63%)
HSVhsv(299, 68%, 96%)
CMYKcmyk(1.6%, 67.6%, 0%, 4.3%)
CIE-LABlab(62.21, 79.68, -51.86)
CIE-LCHlch(62.21, 95.07, 326.94°)
OKLaboklab(70.86% 0.2205 -0.1437)
OKLCHoklch(70.86% 0.263 326.9)
XYZxyz(55.0594, 30.6526, 88.5869)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FF4 #53F44F
analogous
#9D4FF4 #F04FF4 #F44FA6
triadic
#F04FF4 #F4F04F #4FF4F0
tetradic
#F04FF4 #F49D4F #53F44F #4FA6F4
square
#F04FF4 #F49D4F #53F44F #4FA6F4
split-complementary
#F04FF4 #A6F44F #4FF49D
monochromatic
#B90CBD #EB15F0 #F04FF4 #F589F8 #FAC2FB

Accessibility & contrast

On white

2.95
#F04FF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#F04FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F04FF4
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FF4#FFFFFF#000000##000000
##F04FF41.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3089F9
Deuteranopia (green-blind)
#769DF0
Tritanopia (blue-blind)
#F7689C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f04ff4;
/* rgb */ color: rgb(240, 79, 244);
/* oklch */ color: oklch(70.9% 0.263 326.9);
Tailwind
colors: {
  custom: {
    50: '#f98df8',
    500: '#f04ff4',
    950: '#000000',
  },
}
SCSS
$custom: #f04ff4;
$custom-light: #f98df8;
$custom-dark: #000000;
JSON
{
  "hex": "#f04ff4",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 298.545,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.70863,
    "c": 0.26319,
    "h": 326.9
  },
  "luminance": 0.30649
}

Semantic roles & 50–950 ramp

primary
#F04FF4
secondary
#B3EDB2
accent
#E50106
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #F04FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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