#F072FA#F072FA

#F072FA is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 74.9% C 0.223 H 324.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#F072FA
RGBrgb(240, 114, 250)
HSLhsl(296, 93%, 71%)
HSVhsv(296, 54%, 98%)
CMYKcmyk(4%, 54.4%, 0%, 2%)
CIE-LABlab(67.62, 66.57, -46.62)
CIE-LCHlch(67.62, 81.27, 325.00°)
OKLaboklab(74.89% 0.1814 -0.1288)
OKLCHoklch(74.89% 0.223 324.6)
XYZxyz(59.2064, 37.4652, 94.5369)
Luminance0.3746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072FA #7CFA72
analogous
#AC72FA #F072FA #FA72C0
triadic
#F072FA #FAF072 #72FAF0
tetradic
#F072FA #FAAC72 #7CFA72 #72C0FA
square
#F072FA #FAAC72 #7CFA72 #72C0FA
split-complementary
#F072FA #C0FA72 #72FAAC
monochromatic
#D908E9 #EA37F8 #F072FA #F6ADFC #FCE1FE

Accessibility & contrast

On white

2.47
#F072FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#F072FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072FA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072FA#FFFFFF#000000##000000
##F072FA1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#88AAF6
Tritanopia (blue-blind)
#F584AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f072fa;
/* rgb */ color: rgb(240, 114, 250);
/* oklch */ color: oklch(74.9% 0.223 324.6);
Tailwind
colors: {
  custom: {
    50: '#f8a0fc',
    500: '#f072fa',
    950: '#000000',
  },
}
SCSS
$custom: #f072fa;
$custom-light: #f8a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f072fa",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 250
  },
  "hsl": {
    "h": 295.588,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74887,
    "c": 0.2225,
    "h": 324.6
  },
  "luminance": 0.37462
}

Semantic roles & 50–950 ramp

primary
#F072FA
secondary
#D5F6D2
accent
#E60011
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F072FA

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

Preview Lab → · Contrast checker → · Palette generator →

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