#F072F7#F072F7

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

Color values

HEX#F072F7
RGBrgb(240, 114, 247)
HSLhsl(297, 89%, 71%)
HSVhsv(297, 54%, 97%)
CMYKcmyk(2.8%, 53.8%, 0%, 3.1%)
CIE-LABlab(67.49, 66.04, -45.19)
CIE-LCHlch(67.49, 80.02, 325.62°)
OKLaboklab(74.74% 0.1811 -0.1247)
OKLCHoklch(74.74% 0.22 325.5)
XYZxyz(58.7397, 37.2785, 92.0791)
Luminance0.3728 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072F7 #79F772
analogous
#AD72F7 #F072F7 #F772BB
triadic
#F072F7 #F7F072 #72F7F0
tetradic
#F072F7 #F7AD72 #79F772 #72BBF7
square
#F072F7 #F7AD72 #79F772 #72BBF7
split-complementary
#F072F7 #BBF772 #72F7AD
monochromatic
#D70DE2 #EA38F4 #F072F7 #F6ACFA #FCE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F072F7#FFFFFF#000000##000000
##F072F71.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)
#619AFB
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#F583AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f072f7;
/* rgb */ color: rgb(240, 114, 247);
/* oklch */ color: oklch(74.7% 0.220 325.5);
Tailwind
colors: {
  custom: {
    50: '#f8a0fa',
    500: '#f072f7',
    950: '#000000',
  },
}
SCSS
$custom: #f072f7;
$custom-light: #f8a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f072f7",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 296.842,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.7474,
    "c": 0.21989,
    "h": 325.5
  },
  "luminance": 0.37275
}

Semantic roles & 50–950 ramp

primary
#F072F7
secondary
#D2F4D1
accent
#E6000C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F072F7

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

Preview Lab → · Contrast checker → · Palette generator →

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