#F056EC#F056EC

#F056EC is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.1% C 0.249 H 328.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#F056EC
RGBrgb(240, 86, 236)
HSLhsl(302, 84%, 64%)
HSVhsv(302, 64%, 94%)
CMYKcmyk(0%, 64.2%, 1.7%, 5.9%)
CIE-LABlab(62.71, 75.87, -46.63)
CIE-LCHlch(62.71, 89.06, 328.43°)
OKLaboklab(71.09% 0.2131 -0.1286)
OKLCHoklch(71.09% 0.249 328.9)
XYZxyz(54.4027, 31.2408, 82.5053)
Luminance0.3124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F056EC #56F05A
analogous
#A756F0 #F056EC #F0569F
triadic
#F056EC #ECF056 #56ECF0
tetradic
#F056EC #F0A756 #56F05A #569FF0
square
#F056EC #F0A756 #56F05A #569FF0
split-complementary
#F056EC #9FF056 #56F0A7
monochromatic
#BB11B7 #EB1EE6 #F056EC #F58EF2 #FAC6F9

Accessibility & contrast

On white

2.90
#F056EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#F056EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F056EC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F056EC#FFFFFF#000000##000000
##F056EC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF0
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#F8699A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f056ec;
/* rgb */ color: rgb(240, 86, 236);
/* oklch */ color: oklch(71.1% 0.249 328.9);
Tailwind
colors: {
  custom: {
    50: '#f990f2',
    500: '#f056ec',
    950: '#000000',
  },
}
SCSS
$custom: #f056ec;
$custom-light: #f990f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f056ec",
  "rgb": {
    "r": 240,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 301.558,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.71091,
    "c": 0.24887,
    "h": 328.9
  },
  "luminance": 0.31237
}

Semantic roles & 50–950 ramp

primary
#F056EC
secondary
#B6ECB7
accent
#E00B05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F056EC

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

Preview Lab → · Contrast checker → · Palette generator →

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