#F781EC#F781EC

#F781EC is a light, vivid purple. Relative luminance 0.415; OKLCH L 77.0% C 0.192 H 330.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#F781EC
RGBrgb(247, 129, 236)
HSLhsl(306, 88%, 74%)
HSVhsv(306, 48%, 97%)
CMYKcmyk(0%, 47.8%, 4.5%, 3.1%)
CIE-LABlab(70.55, 59.05, -34.30)
CIE-LCHlch(70.55, 68.29, 329.85°)
OKLaboklab(77.03% 0.1674 -0.0935)
OKLCHoklch(77.03% 0.192 330.8)
XYZxyz(61.3478, 41.5344, 84.1263)
Luminance0.4153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781EC #81F78C
analogous
#C781F7 #F781EC #F781B1
triadic
#F781EC #ECF781 #81ECF7
tetradic
#F781EC #F7C781 #81F78C #81B1F7
square
#F781EC #F7C781 #81F78C #81B1F7
split-complementary
#F781EC #B1F781 #81F7C7
monochromatic
#EE0FDA #F347E3 #F781EC #FBBBF5 #FDE2FB

Accessibility & contrast

On white

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

On black

9.31
#F781EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781EC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781EC#FFFFFF#000000##000000
##F781EC1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2F0
Deuteranopia (green-blind)
#9DB2E9
Tritanopia (blue-blind)
#FF8AAC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f781ec;
/* rgb */ color: rgb(247, 129, 236);
/* oklch */ color: oklch(77.0% 0.192 330.8);
Tailwind
colors: {
  custom: {
    50: '#fca9f2',
    500: '#f781ec',
    950: '#000000',
  },
}
SCSS
$custom: #f781ec;
$custom-light: #fca9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f781ec",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 305.593,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77033,
    "c": 0.19169,
    "h": 330.8
  },
  "luminance": 0.41531
}

Semantic roles & 50–950 ramp

primary
#F781EC
secondary
#D6F5D9
accent
#E51601
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F781EC

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

Preview Lab → · Contrast checker → · Palette generator →

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