#F56DEC#F56DEC

#F56DEC is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.2% C 0.221 H 330.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#F56DEC
RGBrgb(245, 109, 236)
HSLhsl(304, 87%, 69%)
HSVhsv(304, 56%, 96%)
CMYKcmyk(0%, 55.5%, 3.7%, 3.9%)
CIE-LABlab(66.83, 67.71, -40.10)
CIE-LCHlch(66.83, 78.69, 329.36°)
OKLaboklab(74.24% 0.1915 -0.1099)
OKLCHoklch(74.24% 0.221 330.1)
XYZxyz(58.2647, 36.4097, 83.2995)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56DEC #6DF576
analogous
#BA6DF5 #F56DEC #F56DA8
triadic
#F56DEC #ECF56D #6DECF5
tetradic
#F56DEC #F5BA6D #6DF576 #6DA8F5
square
#F56DEC #F5BA6D #6DF576 #6DA8F5
split-complementary
#F56DEC #A8F56D #6DF5BA
monochromatic
#D90FCB #F134E5 #F56DEC #F9A6F3 #FDE0FB

Accessibility & contrast

On white

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

On black

8.28
#F56DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56DEC
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56DEC#FFFFFF#000000##000000
##F56DEC1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6497F0
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#FD7AA3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56dec;
/* rgb */ color: rgb(245, 109, 236);
/* oklch */ color: oklch(74.2% 0.221 330.1);
Tailwind
colors: {
  custom: {
    50: '#fb9df2',
    500: '#f56dec',
    950: '#000000',
  },
}
SCSS
$custom: #f56dec;
$custom-light: #fb9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#f56dec",
  "rgb": {
    "r": 245,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 303.971,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.74235,
    "c": 0.22082,
    "h": 330.1
  },
  "luminance": 0.36406
}

Semantic roles & 50–950 ramp

primary
#F56DEC
secondary
#CBF2CE
accent
#E41102
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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