#F078FE#F078FE

#F078FE is a light, highly saturated purple. Relative luminance 0.391; OKLCH L 75.8% C 0.217 H 323.3°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#F078FE
RGBrgb(240, 120, 254)
HSLhsl(294, 99%, 73%)
HSVhsv(294, 53%, 100%)
CMYKcmyk(5.5%, 52.8%, 0%, 0.4%)
CIE-LABlab(68.84, 64.53, -46.90)
CIE-LCHlch(68.84, 79.77, 323.99°)
OKLaboklab(75.84% 0.1742 -0.1297)
OKLCHoklch(75.84% 0.217 323.3)
XYZxyz(60.5393, 39.1169, 98.1082)
Luminance0.3911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078FE #86FE78
analogous
#AD78FE #F078FE #FE78C9
triadic
#F078FE #FEF078 #78FEF0
tetradic
#F078FE #FEAD78 #86FE78 #78C9FE
square
#F078FE #FEAD78 #86FE78 #78C9FE
split-complementary
#F078FE #C9FE78 #78FEAD
monochromatic
#E002FA #E93BFE #F078FE #F7B5FE #FCE1FF

Accessibility & contrast

On white

2.38
#F078FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#F078FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078FE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078FE#FFFFFF#000000##000000
##F078FE1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#8AADFA
Tritanopia (blue-blind)
#F48AB0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f078fe;
/* rgb */ color: rgb(240, 120, 254);
/* oklch */ color: oklch(75.8% 0.217 323.3);
Tailwind
colors: {
  custom: {
    50: '#f8a4ff',
    500: '#f078fe',
    950: '#000000',
  },
}
SCSS
$custom: #f078fe;
$custom-light: #f8a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f078fe",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 293.731,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75837,
    "c": 0.21721,
    "h": 323.3
  },
  "luminance": 0.39114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F078FE

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

Preview Lab → · Contrast checker → · Palette generator →

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