#F787EA#F787EA

#F787EA is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.8% C 0.180 H 331.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#F787EA
RGBrgb(247, 135, 234)
HSLhsl(307, 88%, 75%)
HSVhsv(307, 45%, 97%)
CMYKcmyk(0%, 45.3%, 5.3%, 3.1%)
CIE-LABlab(71.59, 55.81, -31.60)
CIE-LCHlch(71.59, 64.13, 330.48°)
OKLaboklab(77.78% 0.1586 -0.0859)
OKLCHoklch(77.78% 0.18 331.6)
XYZxyz(61.8726, 43.0462, 82.8757)
Luminance0.4304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787EA #87F794
analogous
#CC87F7 #F787EA #F787B2
triadic
#F787EA #EAF787 #87EAF7
tetradic
#F787EA #F7CC87 #87F794 #87B2F7
square
#F787EA #F7CC87 #87F794 #87B2F7
split-complementary
#F787EA #B2F787 #87F7CC
monochromatic
#EF14D6 #F34EE0 #F787EA #FBC0F4 #FDE2FA

Accessibility & contrast

On white

2.19
#F787EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#F787EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787EA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787EA#FFFFFF#000000##000000
##F787EA1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f787ea;
/* rgb */ color: rgb(247, 135, 234);
/* oklch */ color: oklch(77.8% 0.180 331.6);
Tailwind
colors: {
  custom: {
    50: '#fcadf1',
    500: '#f787ea',
    950: '#000000',
  },
}
SCSS
$custom: #f787ea;
$custom-light: #fcadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#f787ea",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 306.964,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77779,
    "c": 0.18038,
    "h": 331.6
  },
  "luminance": 0.43043
}

Semantic roles & 50–950 ramp

primary
#F787EA
secondary
#D6F5DA
accent
#E41C01
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #F787EA

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

Preview Lab → · Contrast checker → · Palette generator →

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