#F56FEF#F56FEF

#F56FEF is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.6% C 0.220 H 329.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#F56FEF
RGBrgb(245, 111, 239)
HSLhsl(303, 87%, 70%)
HSVhsv(303, 55%, 96%)
CMYKcmyk(0%, 54.7%, 2.4%, 3.9%)
CIE-LABlab(67.29, 67.32, -41.05)
CIE-LCHlch(67.29, 78.85, 328.63°)
OKLaboklab(74.61% 0.1894 -0.1126)
OKLCHoklch(74.61% 0.22 329.3)
XYZxyz(58.9200, 37.0171, 85.6862)
Luminance0.3701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56FEF #6FF575
analogous
#B86FF5 #F56FEF #F56FAC
triadic
#F56FEF #EFF56F #6FEFF5
tetradic
#F56FEF #F5B86F #6FF575 #6FACF5
square
#F56FEF #F5B86F #6FF575 #6FACF5
split-complementary
#F56FEF #ACF56F #6FF5B8
monochromatic
#DA0FD1 #F136E9 #F56FEF #F9A8F5 #FDE1FC

Accessibility & contrast

On white

2.50
#F56FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#F56FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56FEF
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56FEF#FFFFFF#000000##000000
##F56FEF1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#8FAAEB
Tritanopia (blue-blind)
#FD7DA5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f56fef;
/* rgb */ color: rgb(245, 111, 239);
/* oklch */ color: oklch(74.6% 0.220 329.3);
Tailwind
colors: {
  custom: {
    50: '#fb9ef4',
    500: '#f56fef',
    950: '#000000',
  },
}
SCSS
$custom: #f56fef;
$custom-light: #fb9ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#f56fef",
  "rgb": {
    "r": 245,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 302.687,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74615,
    "c": 0.22035,
    "h": 329.3
  },
  "luminance": 0.37013
}

Semantic roles & 50–950 ramp

primary
#F56FEF
secondary
#CDF3CF
accent
#E40C02
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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