#F781FC#F781FC

#F781FC is a light, highly saturated purple. Relative luminance 0.425; OKLCH L 77.7% C 0.206 H 325.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#F781FC
RGBrgb(247, 129, 252)
HSLhsl(298, 95%, 75%)
HSVhsv(298, 49%, 99%)
CMYKcmyk(2%, 48.8%, 0%, 1.2%)
CIE-LABlab(71.22, 61.79, -42.01)
CIE-LCHlch(71.22, 74.72, 325.79°)
OKLaboklab(77.75% 0.17 -0.1155)
OKLCHoklch(77.75% 0.206 325.8)
XYZxyz(63.7774, 42.5062, 96.9217)
Luminance0.4250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781FC #86FC81
analogous
#BA81FC #F781FC #FC81C4
triadic
#F781FC #FCF781 #81FCF7
tetradic
#F781FC #FCBA81 #86FC81 #81C4FC
square
#F781FC #FCBA81 #86FC81 #81C4FC
split-complementary
#F781FC #C4FC81 #81FCBA
monochromatic
#EF09F9 #F345FB #F781FC #FBBDFD #FDE1FE

Accessibility & contrast

On white

2.21
#F781FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#F781FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781FC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781FC#FFFFFF#000000##000000
##F781FC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#97B4F8
Tritanopia (blue-blind)
#FC8FB3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f781fc;
/* rgb */ color: rgb(247, 129, 252);
/* oklch */ color: oklch(77.7% 0.206 325.8);
Tailwind
colors: {
  custom: {
    50: '#fcaafe',
    500: '#f781fc',
    950: '#000000',
  },
}
SCSS
$custom: #f781fc;
$custom-light: #fcaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#f781fc",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 297.561,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77749,
    "c": 0.20554,
    "h": 325.8
  },
  "luminance": 0.42503
}

Semantic roles & 50–950 ramp

primary
#F781FC
secondary
#D6F7D4
accent
#E60009
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #F781FC

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

Preview Lab → · Contrast checker → · Palette generator →

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