#F57AFA#F57AFA

#F57AFA is a light, highly saturated purple. Relative luminance 0.402; OKLCH L 76.5% C 0.213 H 325.9°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#F57AFA
RGBrgb(245, 122, 250)
HSLhsl(298, 93%, 73%)
HSVhsv(298, 51%, 98%)
CMYKcmyk(2%, 51.2%, 0%, 2%)
CIE-LABlab(69.64, 64.20, -43.41)
CIE-LCHlch(69.64, 77.50, 325.93°)
OKLaboklab(76.5% 0.1767 -0.1195)
OKLCHoklch(76.5% 0.213 325.9)
XYZxyz(61.8698, 40.2370, 94.9316)
Luminance0.4023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F57AFA #7FFA7A
analogous
#B57AFA #F57AFA #FA7ABF
triadic
#F57AFA #FAF57A #7AFAF5
tetradic
#F57AFA #FAB57A #7FFA7A #7ABFFA
square
#F57AFA #FAB57A #7FFA7A #7ABFFA
split-complementary
#F57AFA #BFFA7A #7AFAB5
monochromatic
#E809F1 #F13FF8 #F57AFA #F9B5FC #FDE2FE

Accessibility & contrast

On white

2.32
#F57AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#F57AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F57AFA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F57AFA#FFFFFF#000000##000000
##F57AFA1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#91B0F6
Tritanopia (blue-blind)
#FB89AF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f57afa;
/* rgb */ color: rgb(245, 122, 250);
/* oklch */ color: oklch(76.5% 0.213 325.9);
Tailwind
colors: {
  custom: {
    50: '#fba5fc',
    500: '#f57afa',
    950: '#000000',
  },
}
SCSS
$custom: #f57afa;
$custom-light: #fba5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f57afa",
  "rgb": {
    "r": 245,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 297.656,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76501,
    "c": 0.21334,
    "h": 325.9
  },
  "luminance": 0.40234
}

Semantic roles & 50–950 ramp

primary
#F57AFA
secondary
#D6F6D5
accent
#E60009
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F57AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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