#F78EF2#F78EF2

#F78EF2 is a light, vivid purple. Relative luminance 0.455; OKLCH L 79.1% C 0.176 H 328.8°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#F78EF2
RGBrgb(247, 142, 242)
HSLhsl(303, 87%, 76%)
HSVhsv(303, 43%, 97%)
CMYKcmyk(0%, 42.5%, 2%, 3.1%)
CIE-LABlab(73.24, 53.71, -33.41)
CIE-LCHlch(73.24, 63.26, 328.11°)
OKLaboklab(79.12% 0.1505 -0.0911)
OKLCHoklch(79.12% 0.176 328.8)
XYZxyz(64.0568, 45.5342, 89.4021)
Luminance0.4553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F78EF2 #8EF793
analogous
#C88EF7 #F78EF2 #F78EBE
triadic
#F78EF2 #F2F78E #8EF2F7
tetradic
#F78EF2 #F7C88E #8EF793 #8EBEF7
square
#F78EF2 #F7C88E #8EF793 #8EBEF7
split-complementary
#F78EF2 #BEF78E #8EF7C8
monochromatic
#EF1CE5 #F355EB #F78EF2 #FBC7F9 #FDE2FC

Accessibility & contrast

On white

2.08
#F78EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#F78EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F78EF2
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F78EF2#FFFFFF#000000##000000
##F78EF21.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF6
Deuteranopia (green-blind)
#A4B9EF
Tritanopia (blue-blind)
#FE97B5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f78ef2;
/* rgb */ color: rgb(247, 142, 242);
/* oklch */ color: oklch(79.1% 0.176 328.8);
Tailwind
colors: {
  custom: {
    50: '#fcb2f6',
    500: '#f78ef2',
    950: '#000000',
  },
}
SCSS
$custom: #f78ef2;
$custom-light: #fcb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f78ef2",
  "rgb": {
    "r": 247,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 302.857,
    "s": 86.777,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79118,
    "c": 0.17587,
    "h": 328.8
  },
  "luminance": 0.45531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F78EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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