#F057E2#F057E2

#F057E2 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.7% C 0.240 H 331.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#F057E2
RGBrgb(240, 87, 226)
HSLhsl(305, 84%, 64%)
HSVhsv(305, 64%, 94%)
CMYKcmyk(0%, 63.7%, 5.8%, 5.9%)
CIE-LABlab(62.37, 73.93, -41.58)
CIE-LCHlch(62.37, 84.82, 330.64°)
OKLaboklab(70.69% 0.2112 -0.1141)
OKLCHoklch(70.69% 0.24 331.6)
XYZxyz(53.0708, 30.8366, 75.0936)
Luminance0.3083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F057E2 #57F065
analogous
#B257F0 #F057E2 #F05796
triadic
#F057E2 #E2F057 #57E2F0
tetradic
#F057E2 #F0B257 #57F065 #5796F0
square
#F057E2 #F0B257 #57F065 #5796F0
split-complementary
#F057E2 #96F057 #57F0B2
monochromatic
#BC11AC #EB1FD8 #F057E2 #F58FEC #FAC7F5

Accessibility & contrast

On white

2.93
#F057E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#F057E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F057E2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F057E2#FFFFFF#000000##000000
##F057E21.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#839EDE
Tritanopia (blue-blind)
#F96695
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f057e2;
/* rgb */ color: rgb(240, 87, 226);
/* oklch */ color: oklch(70.7% 0.240 331.6);
Tailwind
colors: {
  custom: {
    50: '#f991eb',
    500: '#f057e2',
    950: '#000000',
  },
}
SCSS
$custom: #f057e2;
$custom-light: #f991eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f057e2",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 226
  },
  "hsl": {
    "h": 305.49,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.70689,
    "c": 0.24009,
    "h": 331.6
  },
  "luminance": 0.30833
}

Semantic roles & 50–950 ramp

primary
#F057E2
secondary
#B7ECBC
accent
#E01905
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F057E2

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

Preview Lab → · Contrast checker → · Palette generator →

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