#F057DC#F057DC

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

Color values

HEX#F057DC
RGBrgb(240, 87, 220)
HSLhsl(308, 84%, 64%)
HSVhsv(308, 64%, 94%)
CMYKcmyk(0%, 63.7%, 8.3%, 5.9%)
CIE-LABlab(62.09, 73.01, -38.65)
CIE-LCHlch(62.09, 82.61, 332.10°)
OKLaboklab(70.4% 0.2107 -0.1057)
OKLCHoklch(70.4% 0.236 333.4)
XYZxyz(52.2619, 30.5131, 70.8333)
Luminance0.3051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F057DC #57F06B
analogous
#B857F0 #F057DC #F05790
triadic
#F057DC #DCF057 #57DCF0
tetradic
#F057DC #F0B857 #57F06B #5790F0
square
#F057DC #F0B857 #57F06B #5790F0
split-complementary
#F057DC #90F057 #57F0B8
monochromatic
#BC11A5 #EB1FD0 #F057DC #F58FE8 #FAC7F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F057DC#FFFFFF#000000##000000
##F057DC1.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)
#5388E0
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#FA6392
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f057dc;
/* rgb */ color: rgb(240, 87, 220);
/* oklch */ color: oklch(70.4% 0.236 333.4);
Tailwind
colors: {
  custom: {
    50: '#f890e7',
    500: '#f057dc',
    950: '#000000',
  },
}
SCSS
$custom: #f057dc;
$custom-light: #f890e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f057dc",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 307.843,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.704,
    "c": 0.23567,
    "h": 333.4
  },
  "luminance": 0.30509
}

Semantic roles & 50–950 ramp

primary
#F057DC
secondary
#B7ECBE
accent
#E02205
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F057DC

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

Preview Lab → · Contrast checker → · Palette generator →

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