#F056EF#F056EF

#F056EF is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.2% C 0.251 H 328.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#F056EF
RGBrgb(240, 86, 239)
HSLhsl(300, 84%, 64%)
HSVhsv(300, 64%, 94%)
CMYKcmyk(0%, 64.2%, 0.4%, 5.9%)
CIE-LABlab(62.86, 76.35, -48.06)
CIE-LCHlch(62.86, 90.22, 327.81°)
OKLaboklab(71.25% 0.2132 -0.1328)
OKLCHoklch(71.25% 0.251 328.1)
XYZxyz(54.8423, 31.4166, 84.8201)
Luminance0.3141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F056EF #56F057
analogous
#A456F0 #F056EF #F056A2
triadic
#F056EF #EFF056 #56EFF0
tetradic
#F056EF #F0A456 #56F057 #56A2F0
square
#F056EF #F0A456 #56F057 #56A2F0
split-complementary
#F056EF #A2F056 #56F0A4
monochromatic
#BB11BA #EB1EEA #F056EF #F58EF4 #FAC6FA

Accessibility & contrast

On white

2.88
#F056EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#F056EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F056EF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F056EF#FFFFFF#000000##000000
##F056EF1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF3
Deuteranopia (green-blind)
#7D9FEB
Tritanopia (blue-blind)
#F76B9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f056ef;
/* rgb */ color: rgb(240, 86, 239);
/* oklch */ color: oklch(71.2% 0.251 328.1);
Tailwind
colors: {
  custom: {
    50: '#f990f5',
    500: '#f056ef',
    950: '#000000',
  },
}
SCSS
$custom: #f056ef;
$custom-light: #f990f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f056ef",
  "rgb": {
    "r": 240,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 300.39,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.71245,
    "c": 0.25118,
    "h": 328.1
  },
  "luminance": 0.31413
}

Semantic roles & 50–950 ramp

primary
#F056EF
secondary
#B6ECB6
accent
#E00705
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #F056EF

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

Preview Lab → · Contrast checker → · Palette generator →

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