#F786EB#F786EB

#F786EB is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.7% C 0.183 H 331.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#F786EB
RGBrgb(247, 134, 235)
HSLhsl(306, 88%, 75%)
HSVhsv(306, 46%, 97%)
CMYKcmyk(0%, 45.7%, 4.9%, 3.1%)
CIE-LABlab(71.44, 56.46, -32.38)
CIE-LCHlch(71.44, 65.09, 330.17°)
OKLaboklab(77.68% 0.1602 -0.0881)
OKLCHoklch(77.68% 0.183 331.2)
XYZxyz(61.8777, 42.8261, 83.5882)
Luminance0.4282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786EB #86F792
analogous
#CB86F7 #F786EB #F786B2
triadic
#F786EB #EBF786 #86EBF7
tetradic
#F786EB #F7CB86 #86F792 #86B2F7
square
#F786EB #F7CB86 #86F792 #86B2F7
split-complementary
#F786EB #B2F786 #86F7CB
monochromatic
#EF13D8 #F34DE2 #F786EB #FBBFF4 #FDE2FA

Accessibility & contrast

On white

2.20
#F786EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#F786EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786EB
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786EB#FFFFFF#000000##000000
##F786EB1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#A1B5E8
Tritanopia (blue-blind)
#FF8EAE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f786eb;
/* rgb */ color: rgb(247, 134, 235);
/* oklch */ color: oklch(77.7% 0.183 331.2);
Tailwind
colors: {
  custom: {
    50: '#fcacf1',
    500: '#f786eb',
    950: '#000000',
  },
}
SCSS
$custom: #f786eb;
$custom-light: #fcacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f786eb",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 306.372,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7768,
    "c": 0.18284,
    "h": 331.2
  },
  "luminance": 0.42823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F786EB

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

Preview Lab → · Contrast checker → · Palette generator →

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