#F054E5#F054E5

#F054E5 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.5% C 0.246 H 330.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#F054E5
RGBrgb(240, 84, 229)
HSLhsl(304, 84%, 64%)
HSVhsv(304, 65%, 94%)
CMYKcmyk(0%, 65%, 4.6%, 5.9%)
CIE-LABlab(62.11, 75.52, -43.68)
CIE-LCHlch(62.11, 87.24, 329.96°)
OKLaboklab(70.54% 0.2147 -0.1201)
OKLCHoklch(70.54% 0.246 330.8)
XYZxyz(53.2482, 30.5270, 77.2013)
Luminance0.3052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054E5 #54F05F
analogous
#AD54F0 #F054E5 #F05497
triadic
#F054E5 #E5F054 #54E5F0
tetradic
#F054E5 #F0AD54 #54F05F #5497F0
square
#F054E5 #F0AD54 #54F05F #5497F0
split-complementary
#F054E5 #97F054 #54F0AD
monochromatic
#B910AD #EB1CDC #F054E5 #F58CEE #FAC5F6

Accessibility & contrast

On white

2.96
#F054E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#F054E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F054E5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054E5#FFFFFF#000000##000000
##F054E51.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4888E9
Deuteranopia (green-blind)
#819EE1
Tritanopia (blue-blind)
#F96596
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f054e5;
/* rgb */ color: rgb(240, 84, 229);
/* oklch */ color: oklch(70.5% 0.246 330.8);
Tailwind
colors: {
  custom: {
    50: '#f98fed',
    500: '#f054e5',
    950: '#000000',
  },
}
SCSS
$custom: #f054e5;
$custom-light: #f98fed;
$custom-dark: #000000;
JSON
{
  "hex": "#f054e5",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 304.231,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.70544,
    "c": 0.24604,
    "h": 330.8
  },
  "luminance": 0.30523
}

Semantic roles & 50–950 ramp

primary
#F054E5
secondary
#B4ECB8
accent
#E01505
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F054E5

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

Preview Lab → · Contrast checker → · Palette generator →

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