#F56CF8#F56CF8

#F56CF8 is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.7% C 0.232 H 326.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#F56CF8
RGBrgb(245, 108, 248)
HSLhsl(299, 91%, 70%)
HSVhsv(299, 56%, 97%)
CMYKcmyk(1.2%, 56.5%, 0%, 2.7%)
CIE-LABlab(67.22, 70.14, -46.12)
CIE-LCHlch(67.22, 83.94, 326.67°)
OKLaboklab(74.69% 0.1941 -0.1272)
OKLCHoklch(74.69% 0.232 326.8)
XYZxyz(59.9610, 36.9185, 92.7565)
Luminance0.3691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56CF8 #6FF86C
analogous
#AF6CF8 #F56CF8 #F86CB5
triadic
#F56CF8 #F8F56C #6CF8F5
tetradic
#F56CF8 #F8AF6C #6FF86C #6CB5F8
square
#F56CF8 #F8AF6C #6FF86C #6CB5F8
split-complementary
#F56CF8 #B5F86C #6CF8AF
monochromatic
#DA0BDF #F132F5 #F56CF8 #F9A6FB #FDE1FE

Accessibility & contrast

On white

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

On black

8.38
#F56CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56CF8
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56CF8#FFFFFF#000000##000000
##F56CF81.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#FB7DA8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f56cf8;
/* rgb */ color: rgb(245, 108, 248);
/* oklch */ color: oklch(74.7% 0.232 326.8);
Tailwind
colors: {
  custom: {
    50: '#fb9dfb',
    500: '#f56cf8',
    950: '#000000',
  },
}
SCSS
$custom: #f56cf8;
$custom-light: #fb9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f56cf8",
  "rgb": {
    "r": 245,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 298.714,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74694,
    "c": 0.23205,
    "h": 326.8
  },
  "luminance": 0.36915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F56CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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