#F787EE#F787EE

#F787EE is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.9% C 0.184 H 330.2°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#F787EE
RGBrgb(247, 135, 238)
HSLhsl(305, 88%, 75%)
HSVhsv(305, 45%, 97%)
CMYKcmyk(0%, 45.3%, 3.6%, 3.1%)
CIE-LABlab(71.74, 56.48, -33.55)
CIE-LCHlch(71.74, 65.69, 329.29°)
OKLaboklab(77.95% 0.1595 -0.0914)
OKLCHoklch(77.95% 0.184 330.2)
XYZxyz(62.4537, 43.2786, 85.9364)
Luminance0.4328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787EE #87F790
analogous
#C887F7 #F787EE #F787B6
triadic
#F787EE #EEF787 #87EEF7
tetradic
#F787EE #F7C887 #87F790 #87B6F7
square
#F787EE #F7C887 #87F790 #87B6F7
split-complementary
#F787EE #B6F787 #87F7C8
monochromatic
#EF14DE #F34EE6 #F787EE #FBC0F6 #FDE2FB

Accessibility & contrast

On white

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

On black

9.65
#F787EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787EE
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787EE#FFFFFF#000000##000000
##F787EE1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A6F2
Deuteranopia (green-blind)
#A1B5EB
Tritanopia (blue-blind)
#FF90B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f787ee;
/* rgb */ color: rgb(247, 135, 238);
/* oklch */ color: oklch(77.9% 0.184 330.2);
Tailwind
colors: {
  custom: {
    50: '#fcadf4',
    500: '#f787ee',
    950: '#000000',
  },
}
SCSS
$custom: #f787ee;
$custom-light: #fcadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f787ee",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 304.821,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77948,
    "c": 0.18378,
    "h": 330.2
  },
  "luminance": 0.43275
}

Semantic roles & 50–950 ramp

primary
#F787EE
secondary
#D6F5D8
accent
#E41401
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181017
muted
#867F85

Preview Lab

Preview with #F787EE

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

Preview Lab → · Contrast checker → · Palette generator →

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