#F57FE2#F57FE2

#F57FE2 is a light, vivid purple. Relative luminance 0.401; OKLCH L 76.1% C 0.185 H 333.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F57FE2
RGBrgb(245, 127, 226)
HSLhsl(310, 86%, 73%)
HSVhsv(310, 48%, 96%)
CMYKcmyk(0%, 48.2%, 7.8%, 3.9%)
CIE-LABlab(69.53, 57.79, -30.39)
CIE-LCHlch(69.53, 65.29, 332.26°)
OKLaboklab(76.09% 0.166 -0.0824)
OKLCHoklch(76.09% 0.185 333.6)
XYZxyz(58.9729, 40.0859, 76.5680)
Luminance0.4008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F57FE2 #7FF592
analogous
#CD7FF5 #F57FE2 #F57FA7
triadic
#F57FE2 #E2F57F #7FE2F5
tetradic
#F57FE2 #F5CD7F #7FF592 #7FA7F5
square
#F57FE2 #F5CD7F #7FF592 #7FA7F5
split-complementary
#F57FE2 #A7F57F #7FF5CD
monochromatic
#E812C5 #F146D5 #F57FE2 #F9B8EF #FDE3F9

Accessibility & contrast

On white

2.33
#F57FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#F57FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F57FE2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F57FE2#FFFFFF#000000##000000
##F57FE21.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#9FB0DF
Tritanopia (blue-blind)
#FE86A6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f57fe2;
/* rgb */ color: rgb(245, 127, 226);
/* oklch */ color: oklch(76.1% 0.185 333.6);
Tailwind
colors: {
  custom: {
    50: '#fba8eb',
    500: '#f57fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f57fe2;
$custom-light: #fba8eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f57fe2",
  "rgb": {
    "r": 245,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 309.661,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76093,
    "c": 0.18531,
    "h": 333.6
  },
  "luminance": 0.40082
}

Semantic roles & 50–950 ramp

primary
#F57FE2
secondary
#D6F5DB
accent
#E22703
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F57FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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