#F56BFB#F56BFB

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

Color values

HEX#F56BFB
RGBrgb(245, 107, 251)
HSLhsl(298, 95%, 70%)
HSVhsv(298, 57%, 98%)
CMYKcmyk(2.4%, 57.4%, 0%, 1.6%)
CIE-LABlab(67.20, 71.07, -47.79)
CIE-LCHlch(67.20, 85.65, 326.08°)
OKLaboklab(74.73% 0.1955 -0.132)
OKLCHoklch(74.73% 0.236 326)
XYZxyz(60.3252, 36.8964, 95.1924)
Luminance0.3689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56BFB #71FB6B
analogous
#AD6BFB #F56BFB #FB6BB9
triadic
#F56BFB #FBF56B #6BFBF5
tetradic
#F56BFB #FBAD6B #71FB6B #6BB9FB
square
#F56BFB #FBAD6B #71FB6B #6BB9FB
split-complementary
#F56BFB #B9FB6B #6BFBAD
monochromatic
#DC06E5 #F12FF9 #F56BFB #F9A7FD #FDE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F56BFB#FFFFFF#000000##000000
##F56BFB1.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)
#5798FF
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#FB7EA9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f56bfb;
/* rgb */ color: rgb(245, 107, 251);
/* oklch */ color: oklch(74.7% 0.236 326.0);
Tailwind
colors: {
  custom: {
    50: '#fc9cfd',
    500: '#f56bfb',
    950: '#000000',
  },
}
SCSS
$custom: #f56bfb;
$custom-light: #fc9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f56bfb",
  "rgb": {
    "r": 245,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 297.5,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74728,
    "c": 0.23594,
    "h": 326
  },
  "luminance": 0.36893
}

Semantic roles & 50–950 ramp

primary
#F56BFB
secondary
#CFF5CD
accent
#E6000A
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F56BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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