#F56FEC#F56FEC

#F56FEC is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.5% C 0.218 H 330.1°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F56FEC
RGBrgb(245, 111, 236)
HSLhsl(304, 87%, 70%)
HSVhsv(304, 55%, 96%)
CMYKcmyk(0%, 54.7%, 3.7%, 3.9%)
CIE-LABlab(67.16, 66.83, -39.60)
CIE-LCHlch(67.16, 77.68, 329.35°)
OKLaboklab(74.48% 0.189 -0.1085)
OKLCHoklch(74.48% 0.218 330.1)
XYZxyz(58.4805, 36.8413, 83.3715)
Luminance0.3684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56FEC #6FF578
analogous
#BB6FF5 #F56FEC #F56FA9
triadic
#F56FEC #ECF56F #6FECF5
tetradic
#F56FEC #F5BB6F #6FF578 #6FA9F5
square
#F56FEC #F5BB6F #6FF578 #6FA9F5
split-complementary
#F56FEC #A9F56F #6FF5BB
monochromatic
#DA0FCD #F136E4 #F56FEC #F9A8F4 #FDE1FB

Accessibility & contrast

On white

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

On black

8.37
#F56FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56FEC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56FEC#FFFFFF#000000##000000
##F56FEC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#90AAE8
Tritanopia (blue-blind)
#FD7CA4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56fec;
/* rgb */ color: rgb(245, 111, 236);
/* oklch */ color: oklch(74.5% 0.218 330.1);
Tailwind
colors: {
  custom: {
    50: '#fb9ef2',
    500: '#f56fec',
    950: '#000000',
  },
}
SCSS
$custom: #f56fec;
$custom-light: #fb9ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#f56fec",
  "rgb": {
    "r": 245,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 304.03,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74475,
    "c": 0.21791,
    "h": 330.1
  },
  "luminance": 0.36837
}

Semantic roles & 50–950 ramp

primary
#F56FEC
secondary
#CDF3D0
accent
#E41102
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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