#F056F2#F056F2

#F056F2 is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 71.4% C 0.253 H 327.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#F056F2
RGBrgb(240, 86, 242)
HSLhsl(299, 86%, 64%)
HSVhsv(299, 64%, 95%)
CMYKcmyk(0.8%, 64.5%, 0%, 5.1%)
CIE-LABlab(63.01, 76.84, -49.49)
CIE-LCHlch(63.01, 91.40, 327.21°)
OKLaboklab(71.4% 0.2133 -0.1369)
OKLCHoklch(71.4% 0.253 327.3)
XYZxyz(55.2891, 31.5953, 87.1736)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F056F2 #58F256
analogous
#A256F2 #F056F2 #F256A6
triadic
#F056F2 #F2F056 #56F2F0
tetradic
#F056F2 #F2A256 #58F256 #56A6F2
square
#F056F2 #F2A256 #58F256 #56A6F2
split-complementary
#F056F2 #A6F256 #56F2A2
monochromatic
#BD0FBF #EB1DEE #F056F2 #F58FF6 #FAC8FB

Accessibility & contrast

On white

2.87
#F056F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#F056F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F056F2
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F056F2#FFFFFF#000000##000000
##F056F21.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8CF7
Deuteranopia (green-blind)
#7B9FEE
Tritanopia (blue-blind)
#F76C9D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f056f2;
/* rgb */ color: rgb(240, 86, 242);
/* oklch */ color: oklch(71.4% 0.253 327.3);
Tailwind
colors: {
  custom: {
    50: '#f990f7',
    500: '#f056f2',
    950: '#000000',
  },
}
SCSS
$custom: #f056f2;
$custom-light: #f990f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f056f2",
  "rgb": {
    "r": 240,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 299.231,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.25349,
    "h": 327.3
  },
  "luminance": 0.31592
}

Semantic roles & 50–950 ramp

primary
#F056F2
secondary
#B8EDB7
accent
#E20306
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F056F2

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

Preview Lab → · Contrast checker → · Palette generator →

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