#F56AF8#F56AF8

#F56AF8 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.5% C 0.235 H 326.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F56AF8
RGBrgb(245, 106, 248)
HSLhsl(299, 91%, 69%)
HSVhsv(299, 57%, 97%)
CMYKcmyk(1.2%, 57.3%, 0%, 2.7%)
CIE-LABlab(66.90, 70.99, -46.61)
CIE-LCHlch(66.90, 84.93, 326.71°)
OKLaboklab(74.46% 0.1965 -0.1286)
OKLCHoklch(74.46% 0.235 326.8)
XYZxyz(59.7524, 36.5015, 92.6870)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56AF8 #6DF86A
analogous
#AE6AF8 #F56AF8 #F86AB4
triadic
#F56AF8 #F8F56A #6AF8F5
tetradic
#F56AF8 #F8AE6A #6DF86A #6AB4F8
square
#F56AF8 #F8AE6A #6DF86A #6AB4F8
split-complementary
#F56AF8 #B4F86A #6AF8AE
monochromatic
#D90ADD #F130F5 #F56AF8 #F9A4FB #FDDFFD

Accessibility & contrast

On white

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

On black

8.30
#F56AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56AF8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56AF8#FFFFFF#000000##000000
##F56AF81.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#FB7CA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56af8;
/* rgb */ color: rgb(245, 106, 248);
/* oklch */ color: oklch(74.5% 0.235 326.8);
Tailwind
colors: {
  custom: {
    50: '#fc9cfb',
    500: '#f56af8',
    950: '#000000',
  },
}
SCSS
$custom: #f56af8;
$custom-light: #fc9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f56af8",
  "rgb": {
    "r": 245,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 298.732,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74464,
    "c": 0.23485,
    "h": 326.8
  },
  "luminance": 0.36498
}

Semantic roles & 50–950 ramp

primary
#F56AF8
secondary
#CBF3CA
accent
#E60005
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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