#F781F3#F781F3

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

Color values

HEX#F781F3
RGBrgb(247, 129, 243)
HSLhsl(302, 88%, 74%)
HSVhsv(302, 48%, 97%)
CMYKcmyk(0%, 47.8%, 1.6%, 3.1%)
CIE-LABlab(70.84, 60.23, -37.69)
CIE-LCHlch(70.84, 71.06, 327.96°)
OKLaboklab(77.34% 0.1686 -0.1031)
OKLCHoklch(77.34% 0.198 328.5)
XYZxyz(62.3848, 41.9492, 89.5877)
Luminance0.4195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781F3 #81F785
analogous
#C081F7 #F781F3 #F781B8
triadic
#F781F3 #F3F781 #81F3F7
tetradic
#F781F3 #F7C081 #81F785 #81B8F7
square
#F781F3 #F7C081 #81F785 #81B8F7
split-complementary
#F781F3 #B8F781 #81F7C0
monochromatic
#EE0FE7 #F347EE #F781F3 #FBBBF8 #FDE2FC

Accessibility & contrast

On white

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

On black

9.39
#F781F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781F3
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781F3#FFFFFF#000000##000000
##F781F31.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F7
Deuteranopia (green-blind)
#9BB3EF
Tritanopia (blue-blind)
#FE8CAF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f781f3;
/* rgb */ color: rgb(247, 129, 243);
/* oklch */ color: oklch(77.3% 0.198 328.5);
Tailwind
colors: {
  custom: {
    50: '#fca9f7',
    500: '#f781f3',
    950: '#000000',
  },
}
SCSS
$custom: #f781f3;
$custom-light: #fca9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f781f3",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 302.034,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7734,
    "c": 0.19764,
    "h": 328.5
  },
  "luminance": 0.41946
}

Semantic roles & 50–950 ramp

primary
#F781F3
secondary
#D6F5D7
accent
#E50901
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F781F3

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

Preview Lab → · Contrast checker → · Palette generator →

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