#F078DF#F078DF

#F078DF is a light, vivid purple. Relative luminance 0.373; OKLCH L 74.4% C 0.191 H 332.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#F078DF
RGBrgb(240, 120, 223)
HSLhsl(309, 80%, 71%)
HSVhsv(309, 50%, 94%)
CMYKcmyk(0%, 50%, 7.1%, 5.9%)
CIE-LABlab(67.49, 59.21, -31.92)
CIE-LCHlch(67.49, 67.27, 331.67°)
OKLaboklab(74.41% 0.1697 -0.0868)
OKLCHoklch(74.41% 0.191 332.9)
XYZxyz(55.9708, 37.2895, 74.0473)
Luminance0.3729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078DF #78F089
analogous
#C578F0 #F078DF #F078A3
triadic
#F078DF #DFF078 #78DFF0
tetradic
#F078DF #F0C578 #78F089 #78A3F0
square
#F078DF #F0C578 #78F089 #78A3F0
split-complementary
#F078DF #A3F078 #78F0C5
monochromatic
#D618BB #EA41D2 #F078DF #F6AFEC #FCE3F8

Accessibility & contrast

On white

2.48
#F078DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#F078DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078DF
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078DF#FFFFFF#000000##000000
##F078DF1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#98ABDC
Tritanopia (blue-blind)
#F980A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f078df;
/* rgb */ color: rgb(240, 120, 223);
/* oklch */ color: oklch(74.4% 0.191 332.9);
Tailwind
colors: {
  custom: {
    50: '#f7a3e9',
    500: '#f078df',
    950: '#000000',
  },
}
SCSS
$custom: #f078df;
$custom-light: #f7a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f078df",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 308.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74407,
    "c": 0.19055,
    "h": 332.9
  },
  "luminance": 0.37286
}

Semantic roles & 50–950 ramp

primary
#F078DF
secondary
#D2F2D6
accent
#DC2709
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #F078DF

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

Preview Lab → · Contrast checker → · Palette generator →

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