#F78DF2#F78DF2

#F78DF2 is a light, vivid purple. Relative luminance 0.452; OKLCH L 79.0% C 0.177 H 328.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#F78DF2
RGBrgb(247, 141, 242)
HSLhsl(303, 87%, 76%)
HSVhsv(303, 43%, 97%)
CMYKcmyk(0%, 42.9%, 2%, 3.1%)
CIE-LABlab(73.05, 54.21, -33.71)
CIE-LCHlch(73.05, 63.84, 328.12°)
OKLaboklab(78.97% 0.1519 -0.0919)
OKLCHoklch(78.97% 0.178 328.8)
XYZxyz(63.9087, 45.2380, 89.3527)
Luminance0.4523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F78DF2 #8DF792
analogous
#C78DF7 #F78DF2 #F78DBD
triadic
#F78DF2 #F2F78D #8DF2F7
tetradic
#F78DF2 #F7C78D #8DF792 #8DBDF7
square
#F78DF2 #F7C78D #8DF792 #8DBDF7
split-complementary
#F78DF2 #BDF78D #8DF7C7
monochromatic
#EF1BE5 #F354EB #F78DF2 #FBC6F9 #FDE2FC

Accessibility & contrast

On white

2.09
#F78DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#F78DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F78DF2
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F78DF2#FFFFFF#000000##000000
##F78DF21.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF6
Deuteranopia (green-blind)
#A3B8EF
Tritanopia (blue-blind)
#FE96B4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f78df2;
/* rgb */ color: rgb(247, 141, 242);
/* oklch */ color: oklch(79.0% 0.177 328.8);
Tailwind
colors: {
  custom: {
    50: '#fcb1f6',
    500: '#f78df2',
    950: '#000000',
  },
}
SCSS
$custom: #f78df2;
$custom-light: #fcb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f78df2",
  "rgb": {
    "r": 247,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 302.83,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78973,
    "c": 0.1775,
    "h": 328.8
  },
  "luminance": 0.45235
}

Semantic roles & 50–950 ramp

primary
#F78DF2
secondary
#D6F5D7
accent
#E30D02
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #F78DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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