#F78DEC#F78DEC

#F78DEC is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.7% C 0.172 H 330.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#F78DEC
RGBrgb(247, 141, 236)
HSLhsl(306, 87%, 76%)
HSVhsv(306, 43%, 97%)
CMYKcmyk(0%, 42.9%, 4.5%, 3.1%)
CIE-LABlab(72.82, 53.18, -30.80)
CIE-LCHlch(72.82, 61.45, 329.92°)
OKLaboklab(78.72% 0.1506 -0.0836)
OKLCHoklch(78.72% 0.172 330.9)
XYZxyz(63.0223, 44.8834, 84.6844)
Luminance0.4488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F78DEC #8DF798
analogous
#CD8DF7 #F78DEC #F78DB7
triadic
#F78DEC #ECF78D #8DECF7
tetradic
#F78DEC #F7CD8D #8DF798 #8DB7F7
square
#F78DEC #F7CD8D #8DF798 #8DB7F7
split-complementary
#F78DEC #B7F78D #8DF7CD
monochromatic
#EF1BD9 #F354E2 #F78DEC #FBC6F6 #FDE2FA

Accessibility & contrast

On white

2.11
#F78DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#F78DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F78DEC
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F78DEC#FFFFFF#000000##000000
##F78DEC1.002.119.989.98
#FFFFFF2.111.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EF
Deuteranopia (green-blind)
#A6B8E9
Tritanopia (blue-blind)
#FF95B2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #f78dec;
/* rgb */ color: rgb(247, 141, 236);
/* oklch */ color: oklch(78.7% 0.172 330.9);
Tailwind
colors: {
  custom: {
    50: '#fcb1f2',
    500: '#f78dec',
    950: '#000000',
  },
}
SCSS
$custom: #f78dec;
$custom-light: #fcb1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f78dec",
  "rgb": {
    "r": 247,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 306.226,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78722,
    "c": 0.17226,
    "h": 330.9
  },
  "luminance": 0.4488
}

Semantic roles & 50–950 ramp

primary
#F78DEC
secondary
#D6F5D9
accent
#E31902
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F78DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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