#F047E2#F047E2

#F047E2 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 69.2% C 0.259 H 331.6°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#F047E2
RGBrgb(240, 71, 226)
HSLhsl(305, 85%, 61%)
HSVhsv(305, 70%, 94%)
CMYKcmyk(0%, 70.4%, 5.8%, 5.9%)
CIE-LABlab(60.36, 79.57, -44.74)
CIE-LCHlch(60.36, 91.29, 330.65°)
OKLaboklab(69.24% 0.2276 -0.1231)
OKLCHoklch(69.24% 0.259 331.6)
XYZxyz(51.9159, 28.5269, 74.7087)
Luminance0.2852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F047E2 #47F055
analogous
#A947F0 #F047E2 #F0478D
triadic
#F047E2 #E2F047 #47E2F0
tetradic
#F047E2 #F0A947 #47F055 #478DF0
square
#F047E2 #F0A947 #47F055 #478DF0
split-complementary
#F047E2 #8DF047 #47F0A9
monochromatic
#AE0EA1 #E713D5 #F047E2 #F580EB #F9B8F4

Accessibility & contrast

On white

3.13
#F047E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#F047E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F047E2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F047E2#FFFFFF#000000##000000
##F047E21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B82E6
Deuteranopia (green-blind)
#7C9ADE
Tritanopia (blue-blind)
#FA5A90
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f047e2;
/* rgb */ color: rgb(240, 71, 226);
/* oklch */ color: oklch(69.2% 0.259 331.6);
Tailwind
colors: {
  custom: {
    50: '#f989eb',
    500: '#f047e2',
    950: '#000000',
  },
}
SCSS
$custom: #f047e2;
$custom-light: #f989eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f047e2",
  "rgb": {
    "r": 240,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 304.97,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.69238,
    "c": 0.25873,
    "h": 331.6
  },
  "luminance": 0.28523
}

Semantic roles & 50–950 ramp

primary
#F047E2
secondary
#AAE9AF
accent
#E11604
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F047E2

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

Preview Lab → · Contrast checker → · Palette generator →

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