#F781EF#F781EF

#F781EF is a light, vivid purple. Relative luminance 0.417; OKLCH L 77.2% C 0.194 H 329.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#F781EF
RGBrgb(247, 129, 239)
HSLhsl(304, 88%, 74%)
HSVhsv(304, 48%, 97%)
CMYKcmyk(0%, 47.8%, 3.2%, 3.1%)
CIE-LABlab(70.67, 59.55, -35.76)
CIE-LCHlch(70.67, 69.46, 329.02°)
OKLaboklab(77.16% 0.1679 -0.0976)
OKLCHoklch(77.16% 0.194 329.8)
XYZxyz(61.7873, 41.7102, 86.4410)
Luminance0.4171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F781EF #81F789
analogous
#C481F7 #F781EF #F781B4
triadic
#F781EF #EFF781 #81EFF7
tetradic
#F781EF #F7C481 #81F789 #81B4F7
square
#F781EF #F7C481 #81F789 #81B4F7
split-complementary
#F781EF #B4F781 #81F7C4
monochromatic
#EE0FDF #F347E8 #F781EF #FBBBF6 #FDE2FB

Accessibility & contrast

On white

2.25
#F781EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#F781EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F781EF
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F781EF#FFFFFF#000000##000000
##F781EF1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F3
Deuteranopia (green-blind)
#9CB3EB
Tritanopia (blue-blind)
#FF8BAD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #f781ef;
/* rgb */ color: rgb(247, 129, 239);
/* oklch */ color: oklch(77.2% 0.194 329.8);
Tailwind
colors: {
  custom: {
    50: '#fca9f4',
    500: '#f781ef',
    950: '#000000',
  },
}
SCSS
$custom: #f781ef;
$custom-light: #fca9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f781ef",
  "rgb": {
    "r": 247,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 304.068,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.77163,
    "c": 0.19422,
    "h": 329.8
  },
  "luminance": 0.41707
}

Semantic roles & 50–950 ramp

primary
#F781EF
secondary
#D6F5D8
accent
#E51001
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F781EF

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

Preview Lab → · Contrast checker → · Palette generator →

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