#F57AFE#F57AFE

#F57AFE is a light, highly saturated purple. Relative luminance 0.405; OKLCH L 76.7% C 0.217 H 324.8°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#F57AFE
RGBrgb(245, 122, 254)
HSLhsl(296, 99%, 74%)
HSVhsv(296, 52%, 100%)
CMYKcmyk(3.5%, 52%, 0%, 0.4%)
CIE-LABlab(69.82, 64.90, -45.32)
CIE-LCHlch(69.82, 79.16, 325.07°)
OKLaboklab(76.69% 0.1772 -0.125)
OKLCHoklch(76.69% 0.217 324.8)
XYZxyz(62.5036, 40.4906, 98.2699)
Luminance0.4049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F57AFE #83FE7A
analogous
#B37AFE #F57AFE #FE7AC5
triadic
#F57AFE #FEF57A #7AFEF5
tetradic
#F57AFE #FEB37A #83FE7A #7AC5FE
square
#F57AFE #FEB37A #83FE7A #7AC5FE
split-complementary
#F57AFE #C5FE7A #7AFEB3
monochromatic
#EB02FC #F03DFE #F57AFE #FAB7FE #FDE1FF

Accessibility & contrast

On white

2.31
#F57AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#F57AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F57AFE
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F57AFE#FFFFFF#000000##000000
##F57AFE1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#FA8AB1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f57afe;
/* rgb */ color: rgb(245, 122, 254);
/* oklch */ color: oklch(76.7% 0.217 324.8);
Tailwind
colors: {
  custom: {
    50: '#fba5ff',
    500: '#f57afe',
    950: '#000000',
  },
}
SCSS
$custom: #f57afe;
$custom-light: #fba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f57afe",
  "rgb": {
    "r": 245,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 295.909,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76691,
    "c": 0.21686,
    "h": 324.8
  },
  "luminance": 0.40487
}

Semantic roles & 50–950 ramp

primary
#F57AFE
secondary
#D6F7D4
accent
#E60010
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F57AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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