#F787EC#F787EC

#F787EC is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.9% C 0.182 H 330.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#F787EC
RGBrgb(247, 135, 236)
HSLhsl(306, 88%, 75%)
HSVhsv(306, 45%, 97%)
CMYKcmyk(0%, 45.3%, 4.5%, 3.1%)
CIE-LABlab(71.66, 56.14, -32.57)
CIE-LCHlch(71.66, 64.91, 329.88°)
OKLaboklab(77.86% 0.1591 -0.0886)
OKLCHoklch(77.86% 0.182 330.9)
XYZxyz(62.1615, 43.1618, 84.3975)
Luminance0.4316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787EC #87F792
analogous
#CA87F7 #F787EC #F787B4
triadic
#F787EC #ECF787 #87ECF7
tetradic
#F787EC #F7CA87 #87F792 #87B4F7
square
#F787EC #F7CA87 #87F792 #87B4F7
split-complementary
#F787EC #B4F787 #87F7CA
monochromatic
#EF14DA #F34EE3 #F787EC #FBC0F5 #FDE2FA

Accessibility & contrast

On white

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

On black

9.63
#F787EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787EC
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787EC#FFFFFF#000000##000000
##F787EC1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6EF
Deuteranopia (green-blind)
#A2B5E9
Tritanopia (blue-blind)
#FF8FAF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f787ec;
/* rgb */ color: rgb(247, 135, 236);
/* oklch */ color: oklch(77.9% 0.182 330.9);
Tailwind
colors: {
  custom: {
    50: '#fcadf2',
    500: '#f787ec',
    950: '#000000',
  },
}
SCSS
$custom: #f787ec;
$custom-light: #fcadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f787ec",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 305.893,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77863,
    "c": 0.18207,
    "h": 330.9
  },
  "luminance": 0.43158
}

Semantic roles & 50–950 ramp

primary
#F787EC
secondary
#D6F5D9
accent
#E41801
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #F787EC

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

Preview Lab → · Contrast checker → · Palette generator →

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