#F072FE#F072FE

#F072FE is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 75.1% C 0.226 H 323.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#F072FE
RGBrgb(240, 114, 254)
HSLhsl(294, 99%, 72%)
HSVhsv(294, 55%, 100%)
CMYKcmyk(5.5%, 55.1%, 0%, 0.4%)
CIE-LABlab(67.81, 67.27, -48.51)
CIE-LCHlch(67.81, 82.94, 324.20°)
OKLaboklab(75.09% 0.1818 -0.1343)
OKLCHoklch(75.09% 0.226 323.5)
XYZxyz(59.8402, 37.7187, 97.8752)
Luminance0.3772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F072FE #80FE72
analogous
#AA72FE #F072FE #FE72C6
triadic
#F072FE #FEF072 #72FEF0
tetradic
#F072FE #FEAA72 #80FE72 #72C6FE
square
#F072FE #FEAA72 #80FE72 #72C6FE
split-complementary
#F072FE #C6FE72 #72FEAA
monochromatic
#DC02F4 #EA35FE #F072FE #F6AFFE #FCE1FF

Accessibility & contrast

On white

2.46
#F072FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#F072FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F072FE
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F072FE#FFFFFF#000000##000000
##F072FE1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#86AAFA
Tritanopia (blue-blind)
#F485AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f072fe;
/* rgb */ color: rgb(240, 114, 254);
/* oklch */ color: oklch(75.1% 0.226 323.5);
Tailwind
colors: {
  custom: {
    50: '#f8a0ff',
    500: '#f072fe',
    950: '#000000',
  },
}
SCSS
$custom: #f072fe;
$custom-light: #f8a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f072fe",
  "rgb": {
    "r": 240,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 294,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75086,
    "c": 0.22602,
    "h": 323.5
  },
  "luminance": 0.37716
}

Semantic roles & 50–950 ramp

primary
#F072FE
secondary
#D7F7D4
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F072FE

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

Preview Lab → · Contrast checker → · Palette generator →

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