#F04DF0#F04DF0

#F04DF0 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.5% C 0.262 H 327.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#F04DF0
RGBrgb(240, 77, 240)
HSLhsl(300, 84%, 62%)
HSVhsv(300, 68%, 94%)
CMYKcmyk(0%, 67.9%, 0%, 5.9%)
CIE-LABlab(61.76, 79.73, -50.35)
CIE-LCHlch(61.76, 94.30, 327.73°)
OKLaboklab(70.47% 0.2224 -0.1393)
OKLCHoklch(70.47% 0.262 327.9)
XYZxyz(54.3165, 30.1281, 85.3756)
Luminance0.3012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04DF0 #4DF04D
analogous
#9F4DF0 #F04DF0 #F04D9F
triadic
#F04DF0 #F0F04D #4DF0F0
tetradic
#F04DF0 #F09F4D #4DF04D #4D9FF0
square
#F04DF0 #F09F4D #4DF04D #4D9FF0
split-complementary
#F04DF0 #9FF04D #4DF09F
monochromatic
#B30FB3 #EB15EB #F04DF0 #F585F5 #FABEFA

Accessibility & contrast

On white

2.99
#F04DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#F04DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F04DF0
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04DF0#FFFFFF#000000##000000
##F04DF01.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3288F5
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#F76599
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f04df0;
/* rgb */ color: rgb(240, 77, 240);
/* oklch */ color: oklch(70.5% 0.262 327.9);
Tailwind
colors: {
  custom: {
    50: '#f98cf5',
    500: '#f04df0',
    950: '#000000',
  },
}
SCSS
$custom: #f04df0;
$custom-light: #f98cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#f04df0",
  "rgb": {
    "r": 240,
    "g": 77,
    "b": 240
  },
  "hsl": {
    "h": 300,
    "s": 84.456,
    "l": 62.157
  },
  "oklch": {
    "l": 0.70474,
    "c": 0.26241,
    "h": 327.9
  },
  "luminance": 0.30124
}

Semantic roles & 50–950 ramp

primary
#F04DF0
secondary
#AEEAAE
accent
#E10505
background
#FFF9FF
surface
#FFF1FE
border
#D7CBD6
text
#180D17
muted
#867E85

Preview Lab

Preview with #F04DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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