#F56FE4#F56FE4

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

Color values

HEX#F56FE4
RGBrgb(245, 111, 228)
HSLhsl(308, 87%, 70%)
HSVhsv(308, 55%, 96%)
CMYKcmyk(0%, 54.7%, 6.9%, 3.9%)
CIE-LABlab(66.81, 65.54, -35.70)
CIE-LCHlch(66.81, 74.63, 331.42°)
OKLaboklab(74.11% 0.1878 -0.0974)
OKLCHoklch(74.11% 0.212 332.6)
XYZxyz(57.3441, 36.3867, 77.3868)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56FE4 #6FF580
analogous
#C36FF5 #F56FE4 #F56FA1
triadic
#F56FE4 #E4F56F #6FE4F5
tetradic
#F56FE4 #F5C36F #6FF580 #6FA1F5
square
#F56FE4 #F5C36F #6FF580 #6FA1F5
split-complementary
#F56FE4 #A1F56F #6FF5C3
monochromatic
#DA0FC1 #F136D9 #F56FE4 #F9A8EF #FDE1F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F56FE4#FFFFFF#000000##000000
##F56FE41.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)
#6B96E8
Deuteranopia (green-blind)
#94AAE0
Tritanopia (blue-blind)
#FE79A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56fe4;
/* rgb */ color: rgb(245, 111, 228);
/* oklch */ color: oklch(74.1% 0.212 332.6);
Tailwind
colors: {
  custom: {
    50: '#fb9eed',
    500: '#f56fe4',
    950: '#000000',
  },
}
SCSS
$custom: #f56fe4;
$custom-light: #fb9eed;
$custom-dark: #000000;
JSON
{
  "hex": "#f56fe4",
  "rgb": {
    "r": 245,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 307.612,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7411,
    "c": 0.21155,
    "h": 332.6
  },
  "luminance": 0.36383
}

Semantic roles & 50–950 ramp

primary
#F56FE4
secondary
#CDF3D2
accent
#E41F02
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F56FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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