#F56BF8#F56BF8

#F56BF8 is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.6% C 0.233 H 326.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F56BF8
RGBrgb(245, 107, 248)
HSLhsl(299, 91%, 70%)
HSVhsv(299, 57%, 97%)
CMYKcmyk(1.2%, 56.9%, 0%, 2.7%)
CIE-LABlab(67.06, 70.57, -46.37)
CIE-LCHlch(67.06, 84.44, 326.69°)
OKLaboklab(74.58% 0.1953 -0.1279)
OKLCHoklch(74.58% 0.233 326.8)
XYZxyz(59.8561, 36.7088, 92.7215)
Luminance0.3670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56BF8 #6EF86B
analogous
#AE6BF8 #F56BF8 #F86BB5
triadic
#F56BF8 #F8F56B #6BF8F5
tetradic
#F56BF8 #F8AE6B #6EF86B #6BB5F8
square
#F56BF8 #F8AE6B #6EF86B #6BB5F8
split-complementary
#F56BF8 #B5F86B #6BF8AE
monochromatic
#DA0BDE #F131F5 #F56BF8 #F9A5FB #FDE0FE

Accessibility & contrast

On white

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

On black

8.34
#F56BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56BF8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56BF8#FFFFFF#000000##000000
##F56BF81.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#88A9F4
Tritanopia (blue-blind)
#FB7DA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56bf8;
/* rgb */ color: rgb(245, 107, 248);
/* oklch */ color: oklch(74.6% 0.233 326.8);
Tailwind
colors: {
  custom: {
    50: '#fc9cfb',
    500: '#f56bf8',
    950: '#000000',
  },
}
SCSS
$custom: #f56bf8;
$custom-light: #fc9cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f56bf8",
  "rgb": {
    "r": 245,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 298.723,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74579,
    "c": 0.23345,
    "h": 326.8
  },
  "luminance": 0.36705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F56BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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