#F57FF2#F57FF2

#F57FF2 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.8% C 0.199 H 328.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#F57FF2
RGBrgb(245, 127, 242)
HSLhsl(302, 86%, 73%)
HSVhsv(302, 48%, 96%)
CMYKcmyk(0%, 48.2%, 1.2%, 3.9%)
CIE-LABlab(70.18, 60.46, -38.19)
CIE-LCHlch(70.18, 71.51, 327.73°)
OKLaboklab(76.79% 0.1689 -0.1046)
OKLCHoklch(76.79% 0.199 328.2)
XYZxyz(61.2717, 41.0054, 88.6747)
Luminance0.4100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F57FF2 #7FF582
analogous
#BD7FF5 #F57FF2 #F57FB7
triadic
#F57FF2 #F2F57F #7FF2F5
tetradic
#F57FF2 #F5BD7F #7FF582 #7FB7F5
square
#F57FF2 #F5BD7F #7FF582 #7FB7F5
split-complementary
#F57FF2 #B7F57F #7FF5BD
monochromatic
#E812E2 #F146EC #F57FF2 #F9B8F8 #FDE3FC

Accessibility & contrast

On white

2.28
#F57FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#F57FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F57FF2
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F57FF2#FFFFFF#000000##000000
##F57FF21.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#98B1EE
Tritanopia (blue-blind)
#FC8BAE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f57ff2;
/* rgb */ color: rgb(245, 127, 242);
/* oklch */ color: oklch(76.8% 0.199 328.2);
Tailwind
colors: {
  custom: {
    50: '#fba8f6',
    500: '#f57ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f57ff2;
$custom-light: #fba8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f57ff2",
  "rgb": {
    "r": 245,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 301.525,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76787,
    "c": 0.19869,
    "h": 328.2
  },
  "luminance": 0.41002
}

Semantic roles & 50–950 ramp

primary
#F57FF2
secondary
#D6F5D7
accent
#E20903
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F57FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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