#F56BF1#F56BF1

#F56BF1 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.2% C 0.228 H 328.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F56BF1
RGBrgb(245, 107, 241)
HSLhsl(302, 87%, 69%)
HSVhsv(302, 56%, 96%)
CMYKcmyk(0%, 56.3%, 1.6%, 3.9%)
CIE-LABlab(66.74, 69.40, -43.02)
CIE-LCHlch(66.74, 81.65, 328.21°)
OKLaboklab(74.24% 0.1946 -0.1183)
OKLCHoklch(74.24% 0.228 328.7)
XYZxyz(58.7904, 36.2825, 87.1087)
Luminance0.3628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56BF1 #6BF56F
analogous
#B46BF5 #F56BF1 #F56BAC
triadic
#F56BF1 #F1F56B #6BF1F5
tetradic
#F56BF1 #F5B46B #6BF56F #6BACF5
square
#F56BF1 #F5B46B #6BF56F #6BACF5
split-complementary
#F56BF1 #ACF56B #6BF5B4
monochromatic
#D70FD1 #F132EC #F56BF1 #F9A4F6 #FDDEFC

Accessibility & contrast

On white

2.54
#F56BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#F56BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56BF1
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56BF1#FFFFFF#000000##000000
##F56BF11.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F5
Deuteranopia (green-blind)
#8CA9ED
Tritanopia (blue-blind)
#FD7AA4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f56bf1;
/* rgb */ color: rgb(245, 107, 241);
/* oklch */ color: oklch(74.2% 0.228 328.7);
Tailwind
colors: {
  custom: {
    50: '#fb9cf6',
    500: '#f56bf1',
    950: '#000000',
  },
}
SCSS
$custom: #f56bf1;
$custom-light: #fb9cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#f56bf1",
  "rgb": {
    "r": 245,
    "g": 107,
    "b": 241
  },
  "hsl": {
    "h": 301.739,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.22771,
    "h": 328.7
  },
  "luminance": 0.36279
}

Semantic roles & 50–950 ramp

primary
#F56BF1
secondary
#CAF2CB
accent
#E40802
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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