#F054DD#F054DD

#F054DD is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 70.2% C 0.240 H 333.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#F054DD
RGBrgb(240, 84, 221)
HSLhsl(307, 84%, 64%)
HSVhsv(307, 65%, 94%)
CMYKcmyk(0%, 65%, 7.9%, 5.9%)
CIE-LABlab(61.73, 74.30, -39.78)
CIE-LCHlch(61.73, 84.28, 331.83°)
OKLaboklab(70.15% 0.2141 -0.1089)
OKLCHoklch(70.15% 0.24 333)
XYZxyz(52.1568, 30.0905, 71.4536)
Luminance0.3009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F054DD #54F067
analogous
#B554F0 #F054DD #F0548F
triadic
#F054DD #DDF054 #54DDF0
tetradic
#F054DD #F0B554 #54F067 #548FF0
square
#F054DD #F0B554 #54F067 #548FF0
split-complementary
#F054DD #8FF054 #54F0B5
monochromatic
#B910A5 #EB1CD2 #F054DD #F58CE8 #FAC5F3

Accessibility & contrast

On white

2.99
#F054DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#F054DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F054DD
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F054DD#FFFFFF#000000##000000
##F054DD1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F87E1
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#FA6291
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f054dd;
/* rgb */ color: rgb(240, 84, 221);
/* oklch */ color: oklch(70.2% 0.240 333.0);
Tailwind
colors: {
  custom: {
    50: '#f98fe8',
    500: '#f054dd',
    950: '#000000',
  },
}
SCSS
$custom: #f054dd;
$custom-light: #f98fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#f054dd",
  "rgb": {
    "r": 240,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 307.308,
    "s": 83.871,
    "l": 63.529
  },
  "oklch": {
    "l": 0.70151,
    "c": 0.24016,
    "h": 333
  },
  "luminance": 0.30086
}

Semantic roles & 50–950 ramp

primary
#F054DD
secondary
#B4ECBB
accent
#E02005
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F054DD

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

Preview Lab → · Contrast checker → · Palette generator →

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