#F781FD#F781FD

#F781FD is a light, highly saturated purple. Relative luminance 0.426; OKLCH L 77.8% C 0.206 H 325.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#F781FD
RGBrgb(247, 129, 253)
HSLhsl(297, 97%, 75%)
HSVhsv(297, 49%, 99%)
CMYKcmyk(2.4%, 49%, 0%, 0.8%)
CIE-LABlab(71.26, 61.97, -42.49)
CIE-LCHlch(71.26, 75.14, 325.56°)
OKLaboklab(77.8% 0.1701 -0.1169)
OKLCHoklch(77.8% 0.206 325.5)
XYZxyz(63.9362, 42.5698, 97.7585)
Luminance0.4257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781FD #87FD81
analogous
#B981FD #F781FD #FD81C5
triadic
#F781FD #FDF781 #81FDF7
tetradic
#F781FD #FDB981 #87FD81 #81C5FD
square
#F781FD #FDB981 #87FD81 #81C5FD
split-complementary
#F781FD #C5FD81 #81FDB9
monochromatic
#EF09FB #F345FC #F781FD #FBBDFE #FDE1FF

Accessibility & contrast

On white

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

On black

9.51
#F781FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781FD
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781FD#FFFFFF#000000##000000
##F781FD1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#96B4F9
Tritanopia (blue-blind)
#FC8FB4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f781fd;
/* rgb */ color: rgb(247, 129, 253);
/* oklch */ color: oklch(77.8% 0.206 325.5);
Tailwind
colors: {
  custom: {
    50: '#fcaafe',
    500: '#f781fd',
    950: '#000000',
  },
}
SCSS
$custom: #f781fd;
$custom-light: #fcaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#f781fd",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 297.097,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77795,
    "c": 0.20642,
    "h": 325.5
  },
  "luminance": 0.42567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F781FD

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

Preview Lab → · Contrast checker → · Palette generator →

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