#F78CEB#F78CEB

#F78CEB is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.5% C 0.173 H 331.3°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#F78CEB
RGBrgb(247, 140, 235)
HSLhsl(307, 87%, 76%)
HSVhsv(307, 43%, 97%)
CMYKcmyk(0%, 43.3%, 4.9%, 3.1%)
CIE-LABlab(72.58, 53.51, -30.61)
CIE-LCHlch(72.58, 61.64, 330.23°)
OKLaboklab(78.54% 0.1518 -0.0831)
OKLCHoklch(78.54% 0.173 331.3)
XYZxyz(62.7307, 44.5319, 83.8725)
Luminance0.4453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F78CEB #8CF798
analogous
#CD8CF7 #F78CEB #F78CB5
triadic
#F78CEB #EBF78C #8CEBF7
tetradic
#F78CEB #F7CD8C #8CF798 #8CB5F7
square
#F78CEB #F7CD8C #8CF798 #8CB5F7
split-complementary
#F78CEB #B5F78C #8CF7CD
monochromatic
#EF1AD7 #F353E1 #F78CEB #FBC5F5 #FDE2FA

Accessibility & contrast

On white

2.12
#F78CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#F78CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F78CEB
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F78CEB#FFFFFF#000000##000000
##F78CEB1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EE
Deuteranopia (green-blind)
#A5B7E8
Tritanopia (blue-blind)
#FF93B1
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f78ceb;
/* rgb */ color: rgb(247, 140, 235);
/* oklch */ color: oklch(78.5% 0.173 331.3);
Tailwind
colors: {
  custom: {
    50: '#fcb0f1',
    500: '#f78ceb',
    950: '#000000',
  },
}
SCSS
$custom: #f78ceb;
$custom-light: #fcb0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f78ceb",
  "rgb": {
    "r": 247,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 306.729,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78535,
    "c": 0.17306,
    "h": 331.3
  },
  "luminance": 0.44528
}

Semantic roles & 50–950 ramp

primary
#F78CEB
secondary
#D6F5D9
accent
#E41B02
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #F78CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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