#F78FF2#F78FF2

#F78FF2 is a light, vivid purple. Relative luminance 0.458; OKLCH L 79.3% C 0.174 H 328.8°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#F78FF2
RGBrgb(247, 143, 242)
HSLhsl(303, 87%, 76%)
HSVhsv(303, 42%, 97%)
CMYKcmyk(0%, 42.1%, 2%, 3.1%)
CIE-LABlab(73.44, 53.21, -33.11)
CIE-LCHlch(73.44, 62.67, 328.11°)
OKLaboklab(79.26% 0.149 -0.0902)
OKLCHoklch(79.26% 0.174 328.8)
XYZxyz(64.2063, 45.8331, 89.4519)
Luminance0.4583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F78FF2 #8FF794
analogous
#C88FF7 #F78FF2 #F78FBE
triadic
#F78FF2 #F2F78F #8FF2F7
tetradic
#F78FF2 #F7C88F #8FF794 #8FBEF7
square
#F78FF2 #F7C88F #8FF794 #8FBEF7
split-complementary
#F78FF2 #BEF78F #8FF7C8
monochromatic
#EF1DE5 #F356EB #F78FF2 #FBC8F9 #FDE2FC

Accessibility & contrast

On white

2.07
#F78FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#F78FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F78FF2
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F78FF2#FFFFFF#000000##000000
##F78FF21.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#A5B9EF
Tritanopia (blue-blind)
#FE98B5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #f78ff2;
/* rgb */ color: rgb(247, 143, 242);
/* oklch */ color: oklch(79.3% 0.174 328.8);
Tailwind
colors: {
  custom: {
    50: '#fcb2f6',
    500: '#f78ff2',
    950: '#000000',
  },
}
SCSS
$custom: #f78ff2;
$custom-light: #fcb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f78ff2",
  "rgb": {
    "r": 247,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 302.885,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.79263,
    "c": 0.17422,
    "h": 328.8
  },
  "luminance": 0.4583
}

Semantic roles & 50–950 ramp

primary
#F78FF2
secondary
#D6F5D8
accent
#E30D02
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#181117
muted
#868085

Preview Lab

Preview with #F78FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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