#F078DD#F078DD

#F078DD is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.3% C 0.189 H 333.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F078DD
RGBrgb(240, 120, 221)
HSLhsl(310, 80%, 71%)
HSVhsv(310, 50%, 94%)
CMYKcmyk(0%, 50%, 7.9%, 5.9%)
CIE-LABlab(67.41, 58.88, -30.94)
CIE-LCHlch(67.41, 66.51, 332.28°)
OKLaboklab(74.32% 0.1693 -0.084)
OKLCHoklch(74.32% 0.189 333.6)
XYZxyz(55.7027, 37.1823, 72.6356)
Luminance0.3718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F078DD #78F08B
analogous
#C778F0 #F078DD #F078A1
triadic
#F078DD #DDF078 #78DDF0
tetradic
#F078DD #F0C778 #78F08B #78A1F0
square
#F078DD #F0C778 #78F08B #78A1F0
split-complementary
#F078DD #A1F078 #78F0C7
monochromatic
#D618B8 #EA41CF #F078DD #F6AFEB #FCE3F8

Accessibility & contrast

On white

2.49
#F078DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#F078DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F078DD
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F078DD#FFFFFF#000000##000000
##F078DD1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E0
Deuteranopia (green-blind)
#99ABDA
Tritanopia (blue-blind)
#F97FA0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f078dd;
/* rgb */ color: rgb(240, 120, 221);
/* oklch */ color: oklch(74.3% 0.189 333.6);
Tailwind
colors: {
  custom: {
    50: '#f7a3e8',
    500: '#f078dd',
    950: '#000000',
  },
}
SCSS
$custom: #f078dd;
$custom-light: #f7a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f078dd",
  "rgb": {
    "r": 240,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 309.5,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74321,
    "c": 0.18895,
    "h": 333.6
  },
  "luminance": 0.37179
}

Semantic roles & 50–950 ramp

primary
#F078DD
secondary
#D2F2D7
accent
#DC2B09
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #F078DD

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

Preview Lab → · Contrast checker → · Palette generator →

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