#F781F8#F781F8

#F781F8 is a light, highly saturated purple. Relative luminance 0.423; OKLCH L 77.6% C 0.202 H 327.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#F781F8
RGBrgb(247, 129, 248)
HSLhsl(299, 89%, 74%)
HSVhsv(299, 48%, 97%)
CMYKcmyk(0.4%, 48%, 0%, 2.7%)
CIE-LABlab(71.05, 61.10, -40.10)
CIE-LCHlch(71.05, 73.08, 326.72°)
OKLaboklab(77.57% 0.1694 -0.11)
OKLCHoklch(77.57% 0.202 327)
XYZxyz(63.1502, 42.2554, 93.6185)
Luminance0.4225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781F8 #82F881
analogous
#BC81F8 #F781F8 #F881BE
triadic
#F781F8 #F8F781 #81F8F7
tetradic
#F781F8 #F8BC81 #82F881 #81BEF8
square
#F781F8 #F8BC81 #82F881 #81BEF8
split-complementary
#F781F8 #BEF881 #81F8BC
monochromatic
#EF0DF1 #F347F5 #F781F8 #FBBBFB #FDE2FD

Accessibility & contrast

On white

2.22
#F781F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#F781F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781F8
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781F8#FFFFFF#000000##000000
##F781F81.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#99B3F4
Tritanopia (blue-blind)
#FD8EB1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f781f8;
/* rgb */ color: rgb(247, 129, 248);
/* oklch */ color: oklch(77.6% 0.202 327.0);
Tailwind
colors: {
  custom: {
    50: '#fca9fb',
    500: '#f781f8',
    950: '#000000',
  },
}
SCSS
$custom: #f781f8;
$custom-light: #fca9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f781f8",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 299.496,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77565,
    "c": 0.202,
    "h": 327
  },
  "luminance": 0.42252
}

Semantic roles & 50–950 ramp

primary
#F781F8
secondary
#D6F5D6
accent
#E60002
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F781F8

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

Preview Lab → · Contrast checker → · Palette generator →

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