#F786EF#F786EF

#F786EF is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.9% C 0.186 H 329.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#F786EF
RGBrgb(247, 134, 239)
HSLhsl(304, 88%, 75%)
HSVhsv(304, 46%, 97%)
CMYKcmyk(0%, 45.7%, 3.2%, 3.1%)
CIE-LABlab(71.60, 57.14, -34.32)
CIE-LCHlch(71.60, 66.66, 329.01°)
OKLaboklab(77.85% 0.161 -0.0936)
OKLCHoklch(77.85% 0.186 329.8)
XYZxyz(62.4621, 43.0598, 86.6660)
Luminance0.4306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786EF #86F78E
analogous
#C786F7 #F786EF #F786B6
triadic
#F786EF #EFF786 #86EFF7
tetradic
#F786EF #F7C786 #86F78E #86B6F7
square
#F786EF #F7C786 #86F78E #86B6F7
split-complementary
#F786EF #B6F786 #86F7C7
monochromatic
#EF13E0 #F34DE7 #F786EF #FBBFF7 #FDE2FB

Accessibility & contrast

On white

2.18
#F786EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#F786EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786EF
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786EF#FFFFFF#000000##000000
##F786EF1.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F3
Deuteranopia (green-blind)
#A0B5EC
Tritanopia (blue-blind)
#FE8FB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f786ef;
/* rgb */ color: rgb(247, 134, 239);
/* oklch */ color: oklch(77.9% 0.186 329.8);
Tailwind
colors: {
  custom: {
    50: '#fcacf4',
    500: '#f786ef',
    950: '#000000',
  },
}
SCSS
$custom: #f786ef;
$custom-light: #fcacf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f786ef",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 304.248,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77851,
    "c": 0.18625,
    "h": 329.8
  },
  "luminance": 0.43056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F786EF

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

Preview Lab → · Contrast checker → · Palette generator →

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