#F057EB#F057EB

#F057EB is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 71.1% C 0.247 H 329.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#F057EB
RGBrgb(240, 87, 235)
HSLhsl(302, 84%, 64%)
HSVhsv(302, 64%, 94%)
CMYKcmyk(0%, 63.7%, 2.1%, 5.9%)
CIE-LABlab(62.80, 75.34, -45.94)
CIE-LCHlch(62.80, 88.24, 328.63°)
OKLaboklab(71.14% 0.2119 -0.1266)
OKLCHoklch(71.14% 0.247 329.1)
XYZxyz(54.3383, 31.3436, 81.7691)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F057EB #57F05C
analogous
#A957F0 #F057EB #F0579F
triadic
#F057EB #EBF057 #57EBF0
tetradic
#F057EB #F0A957 #57F05C #579FF0
square
#F057EB #F0A957 #57F05C #579FF0
split-complementary
#F057EB #9FF057 #57F0A9
monochromatic
#BC11B6 #EB1FE4 #F057EB #F58FF2 #FAC7F8

Accessibility & contrast

On white

2.89
#F057EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#F057EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F057EB
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F057EB#FFFFFF#000000##000000
##F057EB1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#F86A9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f057eb;
/* rgb */ color: rgb(240, 87, 235);
/* oklch */ color: oklch(71.1% 0.247 329.1);
Tailwind
colors: {
  custom: {
    50: '#f991f2',
    500: '#f057eb',
    950: '#000000',
  },
}
SCSS
$custom: #f057eb;
$custom-light: #f991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f057eb",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 301.961,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.24688,
    "h": 329.1
  },
  "luminance": 0.3134
}

Semantic roles & 50–950 ramp

primary
#F057EB
secondary
#B7ECB8
accent
#E00D05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F057EB

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

Preview Lab → · Contrast checker → · Palette generator →

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