#F56AEF#F56AEF

#F56AEF is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 74.0% C 0.228 H 329.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#F56AEF
RGBrgb(245, 106, 239)
HSLhsl(303, 87%, 69%)
HSVhsv(303, 57%, 96%)
CMYKcmyk(0%, 56.7%, 2.4%, 3.9%)
CIE-LABlab(66.49, 69.50, -42.30)
CIE-LCHlch(66.49, 81.36, 328.67°)
OKLaboklab(74.03% 0.1956 -0.1162)
OKLCHoklch(74.03% 0.228 329.3)
XYZxyz(58.3896, 35.9564, 85.5095)
Luminance0.3595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56AEF #6AF570
analogous
#B66AF5 #F56AEF #F56AAA
triadic
#F56AEF #EFF56A #6AEFF5
tetradic
#F56AEF #F5B66A #6AF570 #6AAAF5
square
#F56AEF #F5B66A #6AF570 #6AAAF5
split-complementary
#F56AEF #AAF56A #6AF5B6
monochromatic
#D60ECE #F131E9 #F56AEF #F9A3F5 #FDDDFB

Accessibility & contrast

On white

2.56
#F56AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#F56AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56AEF
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56AEF#FFFFFF#000000##000000
##F56AEF1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#FD79A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f56aef;
/* rgb */ color: rgb(245, 106, 239);
/* oklch */ color: oklch(74.0% 0.228 329.3);
Tailwind
colors: {
  custom: {
    50: '#fb9cf4',
    500: '#f56aef',
    950: '#000000',
  },
}
SCSS
$custom: #f56aef;
$custom-light: #fb9cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f56aef",
  "rgb": {
    "r": 245,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 302.59,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.74026,
    "c": 0.22751,
    "h": 329.3
  },
  "luminance": 0.35953
}

Semantic roles & 50–950 ramp

primary
#F56AEF
secondary
#C9F2CB
accent
#E40B02
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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