#F781F2#F781F2

#F781F2 is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.3% C 0.197 H 328.9°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#F781F2
RGBrgb(247, 129, 242)
HSLhsl(303, 88%, 74%)
HSVhsv(303, 48%, 97%)
CMYKcmyk(0%, 47.8%, 2%, 3.1%)
CIE-LABlab(70.79, 60.06, -37.21)
CIE-LCHlch(70.79, 70.66, 328.22°)
OKLaboklab(77.3% 0.1684 -0.1018)
OKLCHoklch(77.3% 0.197 328.9)
XYZxyz(62.2342, 41.8890, 88.7945)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781F2 #81F786
analogous
#C181F7 #F781F2 #F781B7
triadic
#F781F2 #F2F781 #81F2F7
tetradic
#F781F2 #F7C181 #81F786 #81B7F7
square
#F781F2 #F7C181 #81F786 #81B7F7
split-complementary
#F781F2 #B7F781 #81F7C1
monochromatic
#EE0FE5 #F347EC #F781F2 #FBBBF8 #FDE2FC

Accessibility & contrast

On white

2.24
#F781F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#F781F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781F2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781F2#FFFFFF#000000##000000
##F781F21.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#9BB3EE
Tritanopia (blue-blind)
#FE8CAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f781f2;
/* rgb */ color: rgb(247, 129, 242);
/* oklch */ color: oklch(77.3% 0.197 328.9);
Tailwind
colors: {
  custom: {
    50: '#fca9f6',
    500: '#f781f2',
    950: '#000000',
  },
}
SCSS
$custom: #f781f2;
$custom-light: #fca9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f781f2",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 302.542,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77296,
    "c": 0.19678,
    "h": 328.9
  },
  "luminance": 0.41885
}

Semantic roles & 50–950 ramp

primary
#F781F2
secondary
#D6F5D7
accent
#E50B01
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F781F2

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

Preview Lab → · Contrast checker → · Palette generator →

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