#F56FE2#F56FE2

#F56FE2 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.0% C 0.210 H 333.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#F56FE2
RGBrgb(245, 111, 226)
HSLhsl(309, 87%, 70%)
HSVhsv(309, 55%, 96%)
CMYKcmyk(0%, 54.7%, 7.8%, 3.9%)
CIE-LABlab(66.73, 65.22, -34.72)
CIE-LCHlch(66.73, 73.88, 331.97°)
OKLaboklab(74.02% 0.1875 -0.0946)
OKLCHoklch(74.02% 0.21 333.2)
XYZxyz(57.0681, 36.2763, 75.9330)
Luminance0.3627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56FE2 #6FF582
analogous
#C56FF5 #F56FE2 #F56F9F
triadic
#F56FE2 #E2F56F #6FE2F5
tetradic
#F56FE2 #F5C56F #6FF582 #6F9FF5
square
#F56FE2 #F5C56F #6FF582 #6F9FF5
split-complementary
#F56FE2 #9FF56F #6FF5C5
monochromatic
#DA0FBE #F136D6 #F56FE2 #F9A8EE #FDE1F9

Accessibility & contrast

On white

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

On black

8.25
#F56FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56FE2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56FE2#FFFFFF#000000##000000
##F56FE21.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#95A9DE
Tritanopia (blue-blind)
#FF789F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f56fe2;
/* rgb */ color: rgb(245, 111, 226);
/* oklch */ color: oklch(74.0% 0.210 333.2);
Tailwind
colors: {
  custom: {
    50: '#fb9eeb',
    500: '#f56fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f56fe2;
$custom-light: #fb9eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f56fe2",
  "rgb": {
    "r": 245,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 308.507,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74021,
    "c": 0.20999,
    "h": 333.2
  },
  "luminance": 0.36272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F56FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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