#F078FC#F078FC

#F078FC is a light, highly saturated purple. Relative luminance 0.390; OKLCH L 75.7% C 0.215 H 323.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#F078FC
RGBrgb(240, 120, 252)
HSLhsl(295, 96%, 73%)
HSVhsv(295, 52%, 99%)
CMYKcmyk(4.8%, 52.4%, 0%, 1.2%)
CIE-LABlab(68.74, 64.17, -45.96)
CIE-LCHlch(68.74, 78.93, 324.39°)
OKLaboklab(75.74% 0.174 -0.1269)
OKLCHoklch(75.74% 0.215 323.9)
XYZxyz(60.2207, 38.9895, 96.4303)
Luminance0.3899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078FC #84FC78
analogous
#AE78FC #F078FC #FC78C6
triadic
#F078FC #FCF078 #78FCF0
tetradic
#F078FC #FCAE78 #84FC78 #78C6FC
square
#F078FC #FCAE78 #84FC78 #78C6FC
split-complementary
#F078FC #C6FC78 #78FCAE
monochromatic
#DE05F4 #E93CFB #F078FC #F7B4FD #FCE1FE

Accessibility & contrast

On white

2.39
#F078FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#F078FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078FC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078FC#FFFFFF#000000##000000
##F078FC1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#8BADF8
Tritanopia (blue-blind)
#F489AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f078fc;
/* rgb */ color: rgb(240, 120, 252);
/* oklch */ color: oklch(75.7% 0.215 323.9);
Tailwind
colors: {
  custom: {
    50: '#f8a4fe',
    500: '#f078fc',
    950: '#000000',
  },
}
SCSS
$custom: #f078fc;
$custom-light: #f8a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f078fc",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 294.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75739,
    "c": 0.2154,
    "h": 323.9
  },
  "luminance": 0.38986
}

Semantic roles & 50–950 ramp

primary
#F078FC
secondary
#D8F7D4
accent
#E60015
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F078FC

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

Preview Lab → · Contrast checker → · Palette generator →

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