#F072F8#F072F8

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

Color values

HEX#F072F8
RGBrgb(240, 114, 248)
HSLhsl(296, 91%, 71%)
HSVhsv(296, 54%, 97%)
CMYKcmyk(3.2%, 54%, 0%, 2.7%)
CIE-LABlab(67.53, 66.22, -45.67)
CIE-LCHlch(67.53, 80.44, 325.41°)
OKLaboklab(74.79% 0.1812 -0.1261)
OKLCHoklch(74.79% 0.221 325.2)
XYZxyz(58.8944, 37.3404, 92.8940)
Luminance0.3734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072F8 #7AF872
analogous
#AD72F8 #F072F8 #F872BD
triadic
#F072F8 #F8F072 #72F8F0
tetradic
#F072F8 #F8AD72 #7AF872 #72BDF8
square
#F072F8 #F8AD72 #7AF872 #72BDF8
split-complementary
#F072F8 #BDF872 #72F8AD
monochromatic
#D70BE4 #EA38F5 #F072F8 #F6ACFB #FCE2FE

Accessibility & contrast

On white

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

On black

8.47
#F072F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072F8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072F8#FFFFFF#000000##000000
##F072F81.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#F583AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f072f8;
/* rgb */ color: rgb(240, 114, 248);
/* oklch */ color: oklch(74.8% 0.221 325.2);
Tailwind
colors: {
  custom: {
    50: '#f8a0fb',
    500: '#f072f8',
    950: '#000000',
  },
}
SCSS
$custom: #f072f8;
$custom-light: #f8a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f072f8",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 296.418,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74788,
    "c": 0.22076,
    "h": 325.2
  },
  "luminance": 0.37337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F072F8

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

Preview Lab → · Contrast checker → · Palette generator →

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