#F787EF#F787EF

#F787EF is a light, vivid purple. Relative luminance 0.433; OKLCH L 78.0% C 0.185 H 329.8°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#F787EF
RGBrgb(247, 135, 239)
HSLhsl(304, 88%, 75%)
HSVhsv(304, 45%, 97%)
CMYKcmyk(0%, 45.3%, 3.2%, 3.1%)
CIE-LABlab(71.78, 56.65, -34.03)
CIE-LCHlch(71.78, 66.09, 329.01°)
OKLaboklab(77.99% 0.1596 -0.0928)
OKLCHoklch(77.99% 0.185 329.8)
XYZxyz(62.6010, 43.3376, 86.7122)
Luminance0.4333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787EF #87F78F
analogous
#C787F7 #F787EF #F787B7
triadic
#F787EF #EFF787 #87EFF7
tetradic
#F787EF #F7C787 #87F78F #87B7F7
square
#F787EF #F7C787 #87F78F #87B7F7
split-complementary
#F787EF #B7F787 #87F7C7
monochromatic
#EF14E0 #F34EE7 #F787EF #FBC0F7 #FDE2FB

Accessibility & contrast

On white

2.17
#F787EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#F787EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787EF
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787EF#FFFFFF#000000##000000
##F787EF1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F3
Deuteranopia (green-blind)
#A0B5EC
Tritanopia (blue-blind)
#FE90B0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f787ef;
/* rgb */ color: rgb(247, 135, 239);
/* oklch */ color: oklch(78.0% 0.185 329.8);
Tailwind
colors: {
  custom: {
    50: '#fcadf4',
    500: '#f787ef',
    950: '#000000',
  },
}
SCSS
$custom: #f787ef;
$custom-light: #fcadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f787ef",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 304.286,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7799,
    "c": 0.18464,
    "h": 329.8
  },
  "luminance": 0.43334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F787EF

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

Preview Lab → · Contrast checker → · Palette generator →

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