#F054DF#F054DF

#F054DF is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 70.2% C 0.242 H 332.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#F054DF
RGBrgb(240, 84, 223)
HSLhsl(307, 84%, 64%)
HSVhsv(307, 65%, 94%)
CMYKcmyk(0%, 65%, 7.1%, 5.9%)
CIE-LABlab(61.82, 74.60, -40.76)
CIE-LCHlch(61.82, 85.01, 331.35°)
OKLaboklab(70.25% 0.2143 -0.1117)
OKLCHoklch(70.25% 0.242 332.5)
XYZxyz(52.4249, 30.1977, 72.8653)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054DF #54F065
analogous
#B354F0 #F054DF #F05491
triadic
#F054DF #DFF054 #54DFF0
tetradic
#F054DF #F0B354 #54F065 #5491F0
square
#F054DF #F0B354 #54F065 #5491F0
split-complementary
#F054DF #91F054 #54F0B3
monochromatic
#B910A7 #EB1CD4 #F054DF #F58CEA #FAC5F4

Accessibility & contrast

On white

2.98
#F054DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#F054DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F054DF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054DF#FFFFFF#000000##000000
##F054DF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D87E3
Deuteranopia (green-blind)
#839DDB
Tritanopia (blue-blind)
#FA6293
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f054df;
/* rgb */ color: rgb(240, 84, 223);
/* oklch */ color: oklch(70.2% 0.242 332.5);
Tailwind
colors: {
  custom: {
    50: '#f98fe9',
    500: '#f054df',
    950: '#000000',
  },
}
SCSS
$custom: #f054df;
$custom-light: #f98fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#f054df",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 306.538,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.70248,
    "c": 0.24162,
    "h": 332.5
  },
  "luminance": 0.30194
}

Semantic roles & 50–950 ramp

primary
#F054DF
secondary
#B4ECBA
accent
#E01D05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F054DF

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

Preview Lab → · Contrast checker → · Palette generator →

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