#F054E3#F054E3

#F054E3 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.4% C 0.245 H 331.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#F054E3
RGBrgb(240, 84, 227)
HSLhsl(305, 84%, 64%)
HSVhsv(305, 65%, 94%)
CMYKcmyk(0%, 65%, 5.4%, 5.9%)
CIE-LABlab(62.01, 75.21, -42.71)
CIE-LCHlch(62.01, 86.49, 330.41°)
OKLaboklab(70.45% 0.2146 -0.1173)
OKLCHoklch(70.45% 0.245 331.3)
XYZxyz(52.9705, 30.4160, 75.7391)
Luminance0.3041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054E3 #54F061
analogous
#AF54F0 #F054E3 #F05495
triadic
#F054E3 #E3F054 #54E3F0
tetradic
#F054E3 #F0AF54 #54F061 #5495F0
square
#F054E3 #F0AF54 #54F061 #5495F0
split-complementary
#F054E3 #95F054 #54F0AF
monochromatic
#B910AB #EB1CDA #F054E3 #F58CEC #FAC5F5

Accessibility & contrast

On white

2.97
#F054E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#F054E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F054E3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054E3#FFFFFF#000000##000000
##F054E31.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E7
Deuteranopia (green-blind)
#819EDF
Tritanopia (blue-blind)
#F96495
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f054e3;
/* rgb */ color: rgb(240, 84, 227);
/* oklch */ color: oklch(70.4% 0.245 331.3);
Tailwind
colors: {
  custom: {
    50: '#f98fec',
    500: '#f054e3',
    950: '#000000',
  },
}
SCSS
$custom: #f054e3;
$custom-light: #f98fec;
$custom-dark: #000000;
JSON
{
  "hex": "#f054e3",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 305,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.70445,
    "c": 0.24456,
    "h": 331.3
  },
  "luminance": 0.30412
}

Semantic roles & 50–950 ramp

primary
#F054E3
secondary
#B4ECB9
accent
#E01705
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F054E3

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

Preview Lab → · Contrast checker → · Palette generator →

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