#F781EA#F781EA

#F781EA is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.9% C 0.190 H 331.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#F781EA
RGBrgb(247, 129, 234)
HSLhsl(307, 88%, 74%)
HSVhsv(307, 48%, 97%)
CMYKcmyk(0%, 47.8%, 5.3%, 3.1%)
CIE-LABlab(70.47, 58.72, -33.32)
CIE-LCHlch(70.47, 67.52, 330.42°)
OKLaboklab(76.95% 0.167 -0.0907)
OKLCHoklch(76.95% 0.19 331.5)
XYZxyz(61.0589, 41.4189, 82.6045)
Luminance0.4142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781EA #81F78E
analogous
#C981F7 #F781EA #F781AF
triadic
#F781EA #EAF781 #81EAF7
tetradic
#F781EA #F7C981 #81F78E #81AFF7
square
#F781EA #F7C981 #81F78E #81AFF7
split-complementary
#F781EA #AFF781 #81F7C9
monochromatic
#EE0FD6 #F347E0 #F781EA #FBBBF4 #FDE2FA

Accessibility & contrast

On white

2.26
#F781EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#F781EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781EA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781EA#FFFFFF#000000##000000
##F781EA1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2EE
Deuteranopia (green-blind)
#9EB2E7
Tritanopia (blue-blind)
#FF8AAB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f781ea;
/* rgb */ color: rgb(247, 129, 234);
/* oklch */ color: oklch(76.9% 0.190 331.5);
Tailwind
colors: {
  custom: {
    50: '#fca9f1',
    500: '#f781ea',
    950: '#000000',
  },
}
SCSS
$custom: #f781ea;
$custom-light: #fca9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f781ea",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 306.61,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76947,
    "c": 0.19002,
    "h": 331.5
  },
  "luminance": 0.41415
}

Semantic roles & 50–950 ramp

primary
#F781EA
secondary
#D6F5D9
accent
#E51A01
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F781EA

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

Preview Lab → · Contrast checker → · Palette generator →

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