#F054E8#F054E8

#F054E8 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.7% C 0.248 H 330.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#F054E8
RGBrgb(240, 84, 232)
HSLhsl(303, 84%, 64%)
HSVhsv(303, 65%, 94%)
CMYKcmyk(0%, 65%, 3.3%, 5.9%)
CIE-LABlab(62.25, 75.99, -45.12)
CIE-LCHlch(62.25, 88.38, 329.30°)
OKLaboklab(70.69% 0.2149 -0.1243)
OKLCHoklch(70.69% 0.248 330)
XYZxyz(53.6707, 30.6960, 79.4264)
Luminance0.3069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054E8 #54F05C
analogous
#AA54F0 #F054E8 #F0549A
triadic
#F054E8 #E8F054 #54E8F0
tetradic
#F054E8 #F0AA54 #54F05C #549AF0
square
#F054E8 #F0AA54 #54F05C #549AF0
split-complementary
#F054E8 #9AF054 #54F0AA
monochromatic
#B910B1 #EB1CE0 #F054E8 #F58CF0 #FAC5F7

Accessibility & contrast

On white

2.94
#F054E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#F054E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F054E8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054E8#FFFFFF#000000##000000
##F054E81.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4689EC
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#F86697
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f054e8;
/* rgb */ color: rgb(240, 84, 232);
/* oklch */ color: oklch(70.7% 0.248 330.0);
Tailwind
colors: {
  custom: {
    50: '#f98ff0',
    500: '#f054e8',
    950: '#000000',
  },
}
SCSS
$custom: #f054e8;
$custom-light: #f98ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#f054e8",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 303.077,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.70695,
    "c": 0.24828,
    "h": 330
  },
  "luminance": 0.30692
}

Semantic roles & 50–950 ramp

primary
#F054E8
secondary
#B4ECB7
accent
#E01005
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F054E8

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

Preview Lab → · Contrast checker → · Palette generator →

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