#F057FA#F057FA

#F057FA is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.9% C 0.259 H 325.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#F057FA
RGBrgb(240, 87, 250)
HSLhsl(296, 94%, 66%)
HSVhsv(296, 65%, 98%)
CMYKcmyk(4%, 65.2%, 0%, 2%)
CIE-LABlab(63.55, 77.78, -53.06)
CIE-LCHlch(63.55, 94.15, 325.70°)
OKLaboklab(71.92% 0.2125 -0.1473)
OKLCHoklch(71.92% 0.259 325.3)
XYZxyz(56.5974, 32.2473, 93.6672)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F057FA #61FA57
analogous
#9E57FA #F057FA #FA57B2
triadic
#F057FA #FAF057 #57FAF0
tetradic
#F057FA #FA9E57 #61FA57 #57B2FA
square
#F057FA #FA9E57 #61FA57 #57B2FA
split-complementary
#F057FA #B2FA57 #57FA9E
monochromatic
#C406D0 #EB1CF8 #F057FA #F592FC #FBCEFE

Accessibility & contrast

On white

2.82
#F057FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#F057FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F057FA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F057FA#FFFFFF#000000##000000
##F057FA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#368EFF
Deuteranopia (green-blind)
#77A0F6
Tritanopia (blue-blind)
#F570A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f057fa;
/* rgb */ color: rgb(240, 87, 250);
/* oklch */ color: oklch(71.9% 0.259 325.3);
Tailwind
colors: {
  custom: {
    50: '#f991fc',
    500: '#f057fa',
    950: '#000000',
  },
}
SCSS
$custom: #f057fa;
$custom-light: #f991fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f057fa",
  "rgb": {
    "r": 240,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 296.319,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71922,
    "c": 0.25857,
    "h": 325.3
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#F057FA
secondary
#BFF1BC
accent
#E6000E
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86

Preview Lab

Preview with #F057FA

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

Preview Lab → · Contrast checker → · Palette generator →

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