#F071F8#F071F8

#F071F8 is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.7% C 0.222 H 325.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#F071F8
RGBrgb(240, 113, 248)
HSLhsl(296, 91%, 71%)
HSVhsv(296, 54%, 97%)
CMYKcmyk(3.2%, 54.4%, 0%, 2.7%)
CIE-LABlab(67.36, 66.67, -45.93)
CIE-LCHlch(67.36, 80.96, 325.44°)
OKLaboklab(74.67% 0.1825 -0.1268)
OKLCHoklch(74.67% 0.222 325.2)
XYZxyz(58.7822, 37.1160, 92.8566)
Luminance0.3711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F071F8 #79F871
analogous
#AC71F8 #F071F8 #F871BD
triadic
#F071F8 #F8F071 #71F8F0
tetradic
#F071F8 #F8AC71 #79F871 #71BDF8
square
#F071F8 #F8AC71 #79F871 #71BDF8
split-complementary
#F071F8 #BDF871 #71F8AC
monochromatic
#D70BE3 #EA37F5 #F071F8 #F6ABFB #FCE2FE

Accessibility & contrast

On white

2.49
#F071F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#F071F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F071F8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F071F8#FFFFFF#000000##000000
##F071F81.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#F582AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f071f8;
/* rgb */ color: rgb(240, 113, 248);
/* oklch */ color: oklch(74.7% 0.222 325.2);
Tailwind
colors: {
  custom: {
    50: '#f89ffb',
    500: '#f071f8',
    950: '#000000',
  },
}
SCSS
$custom: #f071f8;
$custom-light: #f89ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#f071f8",
  "rgb": {
    "r": 240,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 296.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74666,
    "c": 0.22222,
    "h": 325.2
  },
  "luminance": 0.37113
}

Semantic roles & 50–950 ramp

primary
#F071F8
secondary
#D2F5D0
accent
#E6000E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F071F8

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

Preview Lab → · Contrast checker → · Palette generator →

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