#F56CE7#F56CE7

#F56CE7 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.9% C 0.218 H 331.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F56CE7
RGBrgb(245, 108, 231)
HSLhsl(306, 87%, 69%)
HSVhsv(306, 56%, 96%)
CMYKcmyk(0%, 55.9%, 5.7%, 3.9%)
CIE-LABlab(66.45, 67.34, -37.93)
CIE-LCHlch(66.45, 77.29, 330.61°)
OKLaboklab(73.89% 0.1921 -0.1037)
OKLCHoklch(73.89% 0.218 331.6)
XYZxyz(57.4424, 35.9111, 79.4918)
Luminance0.3591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56CE7 #6CF57A
analogous
#BE6CF5 #F56CE7 #F56CA3
triadic
#F56CE7 #E7F56C #6CE7F5
tetradic
#F56CE7 #F5BE6C #6CF57A #6CA3F5
square
#F56CE7 #F5BE6C #6CF57A #6CA3F5
split-complementary
#F56CE7 #A3F56C #6CF5BE
monochromatic
#D80FC3 #F133DE #F56CE7 #F9A5F0 #FDDFFA

Accessibility & contrast

On white

2.57
#F56CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F56CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56CE7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56CE7#FFFFFF#000000##000000
##F56CE71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6695EB
Deuteranopia (green-blind)
#91A9E3
Tritanopia (blue-blind)
#FE77A0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f56ce7;
/* rgb */ color: rgb(245, 108, 231);
/* oklch */ color: oklch(73.9% 0.218 331.6);
Tailwind
colors: {
  custom: {
    50: '#fb9cef',
    500: '#f56ce7',
    950: '#000000',
  },
}
SCSS
$custom: #f56ce7;
$custom-light: #fb9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#f56ce7",
  "rgb": {
    "r": 245,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 306.131,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73885,
    "c": 0.21829,
    "h": 331.6
  },
  "luminance": 0.35907
}

Semantic roles & 50–950 ramp

primary
#F56CE7
secondary
#CAF2CF
accent
#E41902
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F56CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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