#F078F2#F078F2

#F078F2 is a light, highly saturated purple. Relative luminance 0.384; OKLCH L 75.3% C 0.207 H 326.8°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#F078F2
RGBrgb(240, 120, 242)
HSLhsl(299, 82%, 71%)
HSVhsv(299, 50%, 95%)
CMYKcmyk(0.8%, 50.4%, 0%, 5.1%)
CIE-LABlab(68.29, 62.41, -41.18)
CIE-LCHlch(68.29, 74.77, 326.58°)
OKLaboklab(75.26% 0.1728 -0.1132)
OKLCHoklch(75.26% 0.207 326.8)
XYZxyz(58.6776, 38.3722, 88.3031)
Luminance0.3837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078F2 #7AF278
analogous
#B378F2 #F078F2 #F278B7
triadic
#F078F2 #F2F078 #78F2F0
tetradic
#F078F2 #F2B378 #7AF278 #78B7F2
square
#F078F2 #F2B378 #7AF278 #78B7F2
split-complementary
#F078F2 #B7F278 #78F2B3
monochromatic
#D715DB #EA40ED #F078F2 #F6B0F7 #FCE3FC

Accessibility & contrast

On white

2.42
#F078F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#F078F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078F2
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078F2#FFFFFF#000000##000000
##F078F21.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF6
Deuteranopia (green-blind)
#90ACEE
Tritanopia (blue-blind)
#F686AA
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f078f2;
/* rgb */ color: rgb(240, 120, 242);
/* oklch */ color: oklch(75.3% 0.207 326.8);
Tailwind
colors: {
  custom: {
    50: '#f7a3f6',
    500: '#f078f2',
    950: '#000000',
  },
}
SCSS
$custom: #f078f2;
$custom-light: #f7a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f078f2",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 299.016,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.75261,
    "c": 0.20655,
    "h": 326.8
  },
  "luminance": 0.38369
}

Semantic roles & 50–950 ramp

primary
#F078F2
secondary
#D3F3D3
accent
#DF070A
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F078F2

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

Preview Lab → · Contrast checker → · Palette generator →

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