#F057F2#F057F2

#F057F2 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.5% C 0.252 H 327.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#F057F2
RGBrgb(240, 87, 242)
HSLhsl(299, 86%, 65%)
HSVhsv(299, 64%, 95%)
CMYKcmyk(0.8%, 64%, 0%, 5.1%)
CIE-LABlab(63.14, 76.46, -49.28)
CIE-LCHlch(63.14, 90.97, 327.20°)
OKLaboklab(71.5% 0.2123 -0.1363)
OKLCHoklch(71.5% 0.252 327.3)
XYZxyz(55.3695, 31.7561, 87.2004)
Luminance0.3175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F057F2 #59F257
analogous
#A357F2 #F057F2 #F257A6
triadic
#F057F2 #F2F057 #57F2F0
tetradic
#F057F2 #F2A357 #59F257 #57A6F2
square
#F057F2 #F2A357 #59F257 #57A6F2
split-complementary
#F057F2 #A6F257 #57F2A3
monochromatic
#BD0FC0 #EB1EEE #F057F2 #F590F6 #FAC9FB

Accessibility & contrast

On white

2.86
#F057F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#F057F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F057F2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F057F2#FFFFFF#000000##000000
##F057F21.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF7
Deuteranopia (green-blind)
#7BA0EE
Tritanopia (blue-blind)
#F76D9E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f057f2;
/* rgb */ color: rgb(240, 87, 242);
/* oklch */ color: oklch(71.5% 0.252 327.3);
Tailwind
colors: {
  custom: {
    50: '#f991f7',
    500: '#f057f2',
    950: '#000000',
  },
}
SCSS
$custom: #f057f2;
$custom-light: #f991f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f057f2",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 299.226,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71498,
    "c": 0.25229,
    "h": 327.3
  },
  "luminance": 0.31752
}

Semantic roles & 50–950 ramp

primary
#F057F2
secondary
#B8EDB8
accent
#E20306
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F057F2

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

Preview Lab → · Contrast checker → · Palette generator →

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