#F054DB#F054DB

#F054DB is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 70.1% C 0.239 H 333.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#F054DB
RGBrgb(240, 84, 219)
HSLhsl(308, 84%, 64%)
HSVhsv(308, 65%, 94%)
CMYKcmyk(0%, 65%, 8.8%, 5.9%)
CIE-LABlab(61.64, 74.00, -38.80)
CIE-LCHlch(61.64, 83.55, 332.33°)
OKLaboklab(70.06% 0.2139 -0.1061)
OKLCHoklch(70.06% 0.239 333.6)
XYZxyz(51.8920, 29.9845, 70.0586)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054DB #54F069
analogous
#B754F0 #F054DB #F0548D
triadic
#F054DB #DBF054 #54DBF0
tetradic
#F054DB #F0B754 #54F069 #548DF0
square
#F054DB #F0B754 #54F069 #548DF0
split-complementary
#F054DB #8DF054 #54F0B7
monochromatic
#B910A3 #EB1CCF #F054DB #F58CE7 #FAC5F3

Accessibility & contrast

On white

3.00
#F054DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#F054DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F054DB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054DB#FFFFFF#000000##000000
##F054DB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5086DF
Deuteranopia (green-blind)
#859DD7
Tritanopia (blue-blind)
#FB6190
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f054db;
/* rgb */ color: rgb(240, 84, 219);
/* oklch */ color: oklch(70.1% 0.239 333.6);
Tailwind
colors: {
  custom: {
    50: '#f98fe6',
    500: '#f054db',
    950: '#000000',
  },
}
SCSS
$custom: #f054db;
$custom-light: #f98fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#f054db",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 308.077,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.70055,
    "c": 0.23872,
    "h": 333.6
  },
  "luminance": 0.2998
}

Semantic roles & 50–950 ramp

primary
#F054DB
secondary
#B4ECBC
accent
#E02305
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F054DB

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

Preview Lab → · Contrast checker → · Palette generator →

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