#F56AF7#F56AF7

#F56AF7 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.4% C 0.234 H 327.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F56AF7
RGBrgb(245, 106, 247)
HSLhsl(299, 90%, 69%)
HSVhsv(299, 57%, 97%)
CMYKcmyk(0.8%, 57.1%, 0%, 3.1%)
CIE-LABlab(66.85, 70.83, -46.14)
CIE-LCHlch(66.85, 84.53, 326.92°)
OKLaboklab(74.41% 0.1964 -0.1273)
OKLCHoklch(74.41% 0.234 327.1)
XYZxyz(59.5977, 36.4396, 91.8721)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56AF7 #6CF76A
analogous
#AF6AF7 #F56AF7 #F76AB3
triadic
#F56AF7 #F7F56A #6AF7F5
tetradic
#F56AF7 #F7AF6A #6CF76A #6AB3F7
square
#F56AF7 #F7AF6A #6CF76A #6AB3F7
split-complementary
#F56AF7 #B3F76A #6AF7AF
monochromatic
#D80CDB #F130F4 #F56AF7 #F9A4FA #FDDEFD

Accessibility & contrast

On white

2.53
#F56AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F56AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56AF7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56AF7#FFFFFF#000000##000000
##F56AF71.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#88A9F3
Tritanopia (blue-blind)
#FC7CA7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56af7;
/* rgb */ color: rgb(245, 106, 247);
/* oklch */ color: oklch(74.4% 0.234 327.1);
Tailwind
colors: {
  custom: {
    50: '#fc9cfa',
    500: '#f56af7',
    950: '#000000',
  },
}
SCSS
$custom: #f56af7;
$custom-light: #fc9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#f56af7",
  "rgb": {
    "r": 245,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 299.149,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74415,
    "c": 0.23402,
    "h": 327.1
  },
  "luminance": 0.36436
}

Semantic roles & 50–950 ramp

primary
#F56AF7
secondary
#CAF3CA
accent
#E60003
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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