#F787EB#F787EB

#F787EB is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.8% C 0.181 H 331.2°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#F787EB
RGBrgb(247, 135, 235)
HSLhsl(306, 88%, 75%)
HSVhsv(306, 45%, 97%)
CMYKcmyk(0%, 45.3%, 4.9%, 3.1%)
CIE-LABlab(71.63, 55.97, -32.09)
CIE-LCHlch(71.63, 64.52, 330.18°)
OKLaboklab(77.82% 0.1588 -0.0872)
OKLCHoklch(77.82% 0.181 331.2)
XYZxyz(62.0166, 43.1038, 83.6345)
Luminance0.4310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787EB #87F793
analogous
#CB87F7 #F787EB #F787B3
triadic
#F787EB #EBF787 #87EBF7
tetradic
#F787EB #F7CB87 #87F793 #87B3F7
square
#F787EB #F7CB87 #87F793 #87B3F7
split-complementary
#F787EB #B3F787 #87F7CB
monochromatic
#EF14D8 #F34EE1 #F787EB #FBC0F5 #FDE2FA

Accessibility & contrast

On white

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

On black

9.62
#F787EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787EB
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787EB#FFFFFF#000000##000000
##F787EB1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A6EE
Deuteranopia (green-blind)
#A2B5E8
Tritanopia (blue-blind)
#FF8FAE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f787eb;
/* rgb */ color: rgb(247, 135, 235);
/* oklch */ color: oklch(77.8% 0.181 331.2);
Tailwind
colors: {
  custom: {
    50: '#fcadf1',
    500: '#f787eb',
    950: '#000000',
  },
}
SCSS
$custom: #f787eb;
$custom-light: #fcadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f787eb",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 306.429,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77821,
    "c": 0.18122,
    "h": 331.2
  },
  "luminance": 0.431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F787EB

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

Preview Lab → · Contrast checker → · Palette generator →

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