#F56BEC#F56BEC

#F56BEC is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 74.0% C 0.224 H 330.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#F56BEC
RGBrgb(245, 107, 236)
HSLhsl(304, 87%, 69%)
HSVhsv(304, 56%, 96%)
CMYKcmyk(0%, 56.3%, 3.7%, 3.9%)
CIE-LABlab(66.51, 68.58, -40.61)
CIE-LCHlch(66.51, 79.70, 329.37°)
OKLaboklab(74% 0.194 -0.1113)
OKLCHoklch(74% 0.224 330.1)
XYZxyz(58.0538, 35.9879, 83.2292)
Luminance0.3598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56BEC #6BF574
analogous
#B96BF5 #F56BEC #F56BA7
triadic
#F56BEC #ECF56B #6BECF5
tetradic
#F56BEC #F5B96B #6BF574 #6BA7F5
square
#F56BEC #F5B96B #6BF574 #6BA7F5
split-complementary
#F56BEC #A7F56B #6BF5B9
monochromatic
#D70FCA #F132E5 #F56BEC #F9A4F3 #FDDEFB

Accessibility & contrast

On white

2.56
#F56BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#F56BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56BEC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56BEC#FFFFFF#000000##000000
##F56BEC1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#8EA9E8
Tritanopia (blue-blind)
#FD78A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f56bec;
/* rgb */ color: rgb(245, 107, 236);
/* oklch */ color: oklch(74.0% 0.224 330.1);
Tailwind
colors: {
  custom: {
    50: '#fb9cf2',
    500: '#f56bec',
    950: '#000000',
  },
}
SCSS
$custom: #f56bec;
$custom-light: #fb9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f56bec",
  "rgb": {
    "r": 245,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 303.913,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.74,
    "c": 0.22368,
    "h": 330.1
  },
  "luminance": 0.35984
}

Semantic roles & 50–950 ramp

primary
#F56BEC
secondary
#CAF2CC
accent
#E41002
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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