#F56BF7#F56BF7

#F56BF7 is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.5% C 0.233 H 327.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#F56BF7
RGBrgb(245, 107, 247)
HSLhsl(299, 90%, 69%)
HSVhsv(299, 57%, 97%)
CMYKcmyk(0.8%, 56.7%, 0%, 3.1%)
CIE-LABlab(67.01, 70.40, -45.89)
CIE-LCHlch(67.01, 84.03, 326.90°)
OKLaboklab(74.53% 0.1952 -0.1266)
OKLCHoklch(74.53% 0.233 327)
XYZxyz(59.7014, 36.6469, 91.9066)
Luminance0.3664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56BF7 #6DF76B
analogous
#AF6BF7 #F56BF7 #F76BB3
triadic
#F56BF7 #F7F56B #6BF7F5
tetradic
#F56BF7 #F7AF6B #6DF76B #6BB3F7
square
#F56BF7 #F7AF6B #6DF76B #6BB3F7
split-complementary
#F56BF7 #B3F76B #6BF7AF
monochromatic
#D90CDC #F131F4 #F56BF7 #F9A5FA #FDDFFD

Accessibility & contrast

On white

2.52
#F56BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#F56BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56BF7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56BF7#FFFFFF#000000##000000
##F56BF71.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FB
Deuteranopia (green-blind)
#89A9F3
Tritanopia (blue-blind)
#FB7CA7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56bf7;
/* rgb */ color: rgb(245, 107, 247);
/* oklch */ color: oklch(74.5% 0.233 327.0);
Tailwind
colors: {
  custom: {
    50: '#fc9cfa',
    500: '#f56bf7',
    950: '#000000',
  },
}
SCSS
$custom: #f56bf7;
$custom-light: #fc9cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#f56bf7",
  "rgb": {
    "r": 245,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 299.143,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74529,
    "c": 0.23263,
    "h": 327
  },
  "luminance": 0.36643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F56BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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