#F56CEC#F56CEC

#F56CEC is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 74.1% C 0.222 H 330.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#F56CEC
RGBrgb(245, 108, 236)
HSLhsl(304, 87%, 69%)
HSVhsv(304, 56%, 96%)
CMYKcmyk(0%, 55.9%, 3.7%, 3.9%)
CIE-LABlab(66.67, 68.15, -40.36)
CIE-LCHlch(66.67, 79.20, 329.37°)
OKLaboklab(74.12% 0.1928 -0.1106)
OKLCHoklch(74.12% 0.222 330.1)
XYZxyz(58.1586, 36.1976, 83.2642)
Luminance0.3619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56CEC #6CF575
analogous
#BA6CF5 #F56CEC #F56CA8
triadic
#F56CEC #ECF56C #6CECF5
tetradic
#F56CEC #F5BA6C #6CF575 #6CA8F5
square
#F56CEC #F5BA6C #6CF575 #6CA8F5
split-complementary
#F56CEC #A8F56C #6CF5BA
monochromatic
#D80FCB #F133E5 #F56CEC #F9A5F3 #FDDFFB

Accessibility & contrast

On white

2.55
#F56CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#F56CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56CEC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56CEC#FFFFFF#000000##000000
##F56CEC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#FD79A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f56cec;
/* rgb */ color: rgb(245, 108, 236);
/* oklch */ color: oklch(74.1% 0.222 330.1);
Tailwind
colors: {
  custom: {
    50: '#fb9df2',
    500: '#f56cec',
    950: '#000000',
  },
}
SCSS
$custom: #f56cec;
$custom-light: #fb9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#f56cec",
  "rgb": {
    "r": 245,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 303.942,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74117,
    "c": 0.22226,
    "h": 330.1
  },
  "luminance": 0.36194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F56CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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