#F786EC#F786EC

#F786EC is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.7% C 0.184 H 330.9°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#F786EC
RGBrgb(247, 134, 236)
HSLhsl(306, 88%, 75%)
HSVhsv(306, 46%, 97%)
CMYKcmyk(0%, 45.7%, 4.5%, 3.1%)
CIE-LABlab(71.48, 56.63, -32.86)
CIE-LCHlch(71.48, 65.48, 329.87°)
OKLaboklab(77.72% 0.1604 -0.0894)
OKLCHoklch(77.72% 0.184 330.9)
XYZxyz(62.0226, 42.8840, 84.3512)
Luminance0.4288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786EC #86F791
analogous
#CA86F7 #F786EC #F786B3
triadic
#F786EC #ECF786 #86ECF7
tetradic
#F786EC #F7CA86 #86F791 #86B3F7
square
#F786EC #F7CA86 #86F791 #86B3F7
split-complementary
#F786EC #B3F786 #86F7CA
monochromatic
#EF13DA #F34DE3 #F786EC #FBBFF5 #FDE2FA

Accessibility & contrast

On white

2.19
#F786EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#F786EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786EC
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786EC#FFFFFF#000000##000000
##F786EC1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5F0
Deuteranopia (green-blind)
#A1B5E9
Tritanopia (blue-blind)
#FF8FAE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f786ec;
/* rgb */ color: rgb(247, 134, 236);
/* oklch */ color: oklch(77.7% 0.184 330.9);
Tailwind
colors: {
  custom: {
    50: '#fcacf2',
    500: '#f786ec',
    950: '#000000',
  },
}
SCSS
$custom: #f786ec;
$custom-light: #fcacf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f786ec",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 305.841,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77723,
    "c": 0.18369,
    "h": 330.9
  },
  "luminance": 0.4288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F786EC

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

Preview Lab → · Contrast checker → · Palette generator →

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