#F56AFD#F56AFD

#F56AFD is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.7% C 0.239 H 325.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#F56AFD
RGBrgb(245, 106, 253)
HSLhsl(297, 97%, 70%)
HSVhsv(297, 58%, 99%)
CMYKcmyk(3.2%, 58.1%, 0%, 0.8%)
CIE-LABlab(67.14, 71.84, -48.99)
CIE-LCHlch(67.14, 86.95, 325.71°)
OKLaboklab(74.71% 0.1969 -0.1355)
OKLCHoklch(74.71% 0.239 325.5)
XYZxyz(60.5385, 36.8159, 96.8269)
Luminance0.3681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56AFD #72FD6A
analogous
#AC6AFD #F56AFD #FD6ABB
triadic
#F56AFD #FDF56A #6AFDF5
tetradic
#F56AFD #FDAC6A #72FD6A #6ABBFD
square
#F56AFD #FDAC6A #72FD6A #6ABBFD
split-complementary
#F56AFD #BBFD6A #6AFDAC
monochromatic
#DD03E9 #F12EFC #F56AFD #F9A6FE #FDE1FF

Accessibility & contrast

On white

2.51
#F56AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#F56AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56AFD
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56AFD#FFFFFF#000000##000000
##F56AFD1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#85A9F9
Tritanopia (blue-blind)
#FA7EAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56afd;
/* rgb */ color: rgb(245, 106, 253);
/* oklch */ color: oklch(74.7% 0.239 325.5);
Tailwind
colors: {
  custom: {
    50: '#fc9cfe',
    500: '#f56afd',
    950: '#000000',
  },
}
SCSS
$custom: #f56afd;
$custom-light: #fc9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f56afd",
  "rgb": {
    "r": 245,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 296.735,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74714,
    "c": 0.239,
    "h": 325.5
  },
  "luminance": 0.36812
}

Semantic roles & 50–950 ramp

primary
#F56AFD
secondary
#CFF6CD
accent
#E6000C
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F56AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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