#F056E2#F056E2

#F056E2 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.6% C 0.241 H 331.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#F056E2
RGBrgb(240, 86, 226)
HSLhsl(305, 84%, 64%)
HSVhsv(305, 64%, 94%)
CMYKcmyk(0%, 64.2%, 5.8%, 5.9%)
CIE-LABlab(62.23, 74.31, -41.80)
CIE-LCHlch(62.23, 85.26, 330.64°)
OKLaboklab(70.59% 0.2123 -0.1147)
OKLCHoklch(70.59% 0.241 331.6)
XYZxyz(52.9904, 30.6758, 75.0668)
Luminance0.3067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F056E2 #56F064
analogous
#B156F0 #F056E2 #F05695
triadic
#F056E2 #E2F056 #56E2F0
tetradic
#F056E2 #F0B156 #56F064 #5695F0
square
#F056E2 #F0B156 #56F064 #5695F0
split-complementary
#F056E2 #95F056 #56F0B1
monochromatic
#BB11AC #EB1ED8 #F056E2 #F58EEC #FAC6F5

Accessibility & contrast

On white

2.94
#F056E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#F056E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F056E2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F056E2#FFFFFF#000000##000000
##F056E21.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D89E6
Deuteranopia (green-blind)
#839EDE
Tritanopia (blue-blind)
#F96595
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f056e2;
/* rgb */ color: rgb(240, 86, 226);
/* oklch */ color: oklch(70.6% 0.241 331.6);
Tailwind
colors: {
  custom: {
    50: '#f990eb',
    500: '#f056e2',
    950: '#000000',
  },
}
SCSS
$custom: #f056e2;
$custom-light: #f990eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f056e2",
  "rgb": {
    "r": 240,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 305.455,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.7059,
    "c": 0.24134,
    "h": 331.6
  },
  "luminance": 0.30672
}

Semantic roles & 50–950 ramp

primary
#F056E2
secondary
#B6ECBB
accent
#E01905
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F056E2

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

Preview Lab → · Contrast checker → · Palette generator →

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