#F786EA#F786EA

#F786EA is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.6% C 0.182 H 331.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#F786EA
RGBrgb(247, 134, 234)
HSLhsl(307, 88%, 75%)
HSVhsv(307, 46%, 97%)
CMYKcmyk(0%, 45.7%, 5.3%, 3.1%)
CIE-LABlab(71.40, 56.30, -31.89)
CIE-LCHlch(71.40, 64.70, 330.47°)
OKLaboklab(77.64% 0.16 -0.0867)
OKLCHoklch(77.64% 0.182 331.6)
XYZxyz(61.7337, 42.7684, 82.8294)
Luminance0.4276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786EA #86F793
analogous
#CC86F7 #F786EA #F786B1
triadic
#F786EA #EAF786 #86EAF7
tetradic
#F786EA #F7CC86 #86F793 #86B1F7
square
#F786EA #F7CC86 #86F793 #86B1F7
split-complementary
#F786EA #B1F786 #86F7CC
monochromatic
#EF13D6 #F34DE0 #F786EA #FBBFF4 #FDE2FA

Accessibility & contrast

On white

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

On black

9.55
#F786EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786EA
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786EA#FFFFFF#000000##000000
##F786EA1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5ED
Deuteranopia (green-blind)
#A2B5E7
Tritanopia (blue-blind)
#FF8EAD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f786ea;
/* rgb */ color: rgb(247, 134, 234);
/* oklch */ color: oklch(77.6% 0.182 331.6);
Tailwind
colors: {
  custom: {
    50: '#fcacf1',
    500: '#f786ea',
    950: '#000000',
  },
}
SCSS
$custom: #f786ea;
$custom-light: #fcacf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f786ea",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 306.903,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77638,
    "c": 0.18201,
    "h": 331.6
  },
  "luminance": 0.42765
}

Semantic roles & 50–950 ramp

primary
#F786EA
secondary
#D6F5D9
accent
#E41B01
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F786EA

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

Preview Lab → · Contrast checker → · Palette generator →

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