#F787DC#F787DC

#F787DC is a light, vivid pink. Relative luminance 0.423; OKLCH L 77.2% C 0.169 H 336.9°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#F787DC
RGBrgb(247, 135, 220)
HSLhsl(314, 88%, 75%)
HSVhsv(314, 45%, 97%)
CMYKcmyk(0%, 45.3%, 10.9%, 3.1%)
CIE-LABlab(71.06, 53.52, -24.70)
CIE-LCHlch(71.06, 58.95, 335.22°)
OKLaboklab(77.21% 0.1555 -0.0664)
OKLCHoklch(77.21% 0.169 336.9)
XYZxyz(59.9402, 42.2732, 72.6987)
Luminance0.4227 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787DC #87F7A2
analogous
#DA87F7 #F787DC #F787A4
triadic
#F787DC #DCF787 #87DCF7
tetradic
#F787DC #F7DA87 #87F7A2 #87A4F7
square
#F787DC #F7DA87 #87F7A2 #87A4F7
split-complementary
#F787DC #A4F787 #87F7DA
monochromatic
#EF14BB #F34ECB #F787DC #FBC0ED #FDE2F7

Accessibility & contrast

On white

2.22
#F787DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#F787DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787DC
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787DC#FFFFFF#000000##000000
##F787DC1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DF
Deuteranopia (green-blind)
#A7B4D9
Tritanopia (blue-blind)
#FF8BA8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f787dc;
/* rgb */ color: rgb(247, 135, 220);
/* oklch */ color: oklch(77.2% 0.169 336.9);
Tailwind
colors: {
  custom: {
    50: '#fcade7',
    500: '#f787dc',
    950: '#000000',
  },
}
SCSS
$custom: #f787dc;
$custom-light: #fcade7;
$custom-dark: #000000;
JSON
{
  "hex": "#f787dc",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 314.464,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77212,
    "c": 0.16911,
    "h": 336.9
  },
  "luminance": 0.42269
}

Semantic roles & 50–950 ramp

primary
#F787DC
secondary
#D6F5DD
accent
#E43801
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F787DC

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

Preview Lab → · Contrast checker → · Palette generator →

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