#F071FB#F071FB

#F071FB is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.8% C 0.225 H 324.4°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#F071FB
RGBrgb(240, 113, 251)
HSLhsl(295, 95%, 71%)
HSVhsv(295, 55%, 98%)
CMYKcmyk(4.4%, 55%, 0%, 1.6%)
CIE-LABlab(67.50, 67.19, -47.36)
CIE-LCHlch(67.50, 82.21, 324.82°)
OKLaboklab(74.81% 0.1828 -0.1309)
OKLCHoklch(74.81% 0.225 324.4)
XYZxyz(59.2514, 37.3037, 95.3275)
Luminance0.3730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F071FB #7CFB71
analogous
#AB71FB #F071FB #FB71C1
triadic
#F071FB #FBF071 #71FBF0
tetradic
#F071FB #FBAB71 #7CFB71 #71C1FB
square
#F071FB #FBAB71 #7CFB71 #71C1FB
split-complementary
#F071FB #C1FB71 #71FBAB
monochromatic
#D907EB #EA35F9 #F071FB #F6ADFD #FCE1FE

Accessibility & contrast

On white

2.48
#F071FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#F071FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F071FB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F071FB#FFFFFF#000000##000000
##F071FB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFF
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#F583AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f071fb;
/* rgb */ color: rgb(240, 113, 251);
/* oklch */ color: oklch(74.8% 0.225 324.4);
Tailwind
colors: {
  custom: {
    50: '#f89ffd',
    500: '#f071fb',
    950: '#000000',
  },
}
SCSS
$custom: #f071fb;
$custom-light: #f89ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#f071fb",
  "rgb": {
    "r": 240,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 295.217,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74814,
    "c": 0.22484,
    "h": 324.4
  },
  "luminance": 0.37301
}

Semantic roles & 50–950 ramp

primary
#F071FB
secondary
#D5F6D2
accent
#E60012
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F071FB

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

Preview Lab → · Contrast checker → · Palette generator →

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