#F078FB#F078FB

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

Color values

HEX#F078FB
RGBrgb(240, 120, 251)
HSLhsl(295, 94%, 73%)
HSVhsv(295, 52%, 98%)
CMYKcmyk(4.4%, 52.2%, 0%, 1.6%)
CIE-LABlab(68.70, 63.99, -45.48)
CIE-LCHlch(68.70, 78.51, 324.60°)
OKLaboklab(75.69% 0.1739 -0.1256)
OKLCHoklch(75.69% 0.215 324.2)
XYZxyz(60.0627, 38.9263, 95.5979)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078FB #83FB78
analogous
#AF78FB #F078FB #FB78C4
triadic
#F078FB #FBF078 #78FBF0
tetradic
#F078FB #FBAF78 #83FB78 #78C4FB
square
#F078FB #FBAF78 #83FB78 #78C4FB
split-complementary
#F078FB #C4FB78 #78FBAF
monochromatic
#DE07F1 #E93DF9 #F078FB #F7B3FD #FCE1FE

Accessibility & contrast

On white

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

On black

8.78
#F078FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078FB
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078FB#FFFFFF#000000##000000
##F078FB1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f078fb;
/* rgb */ color: rgb(240, 120, 251);
/* oklch */ color: oklch(75.7% 0.215 324.2);
Tailwind
colors: {
  custom: {
    50: '#f7a4fd',
    500: '#f078fb',
    950: '#000000',
  },
}
SCSS
$custom: #f078fb;
$custom-light: #f7a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#f078fb",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 294.962,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7569,
    "c": 0.21451,
    "h": 324.2
  },
  "luminance": 0.38923
}

Semantic roles & 50–950 ramp

primary
#F078FB
secondary
#D8F6D5
accent
#E60013
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F078FB

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

Preview Lab → · Contrast checker → · Palette generator →

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