#F787FB#F787FB

#F787FB is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.5% C 0.195 H 326.0°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#F787FB
RGBrgb(247, 135, 251)
HSLhsl(298, 94%, 76%)
HSVhsv(298, 46%, 98%)
CMYKcmyk(1.6%, 46.2%, 0%, 1.6%)
CIE-LABlab(72.28, 58.73, -39.82)
CIE-LCHlch(72.28, 70.96, 325.86°)
OKLaboklab(78.52% 0.1618 -0.1093)
OKLCHoklch(78.52% 0.195 326)
XYZxyz(64.4330, 44.0703, 96.3606)
Luminance0.4407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787FB #8BFB87
analogous
#BD87FB #F787FB #FB87C5
triadic
#F787FB #FBF787 #87FBF7
tetradic
#F787FB #FBBD87 #8BFB87 #87C5FB
square
#F787FB #FBBD87 #8BFB87 #87C5FB
split-complementary
#F787FB #C5FB87 #87FBBD
monochromatic
#EF11F7 #F34CF9 #F787FB #FBC2FD #FDE1FE

Accessibility & contrast

On white

2.14
#F787FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#F787FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787FB
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787FB#FFFFFF#000000##000000
##F787FB1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#9CB6F7
Tritanopia (blue-blind)
#FC94B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f787fb;
/* rgb */ color: rgb(247, 135, 251);
/* oklch */ color: oklch(78.5% 0.195 326.0);
Tailwind
colors: {
  custom: {
    50: '#fcadfd',
    500: '#f787fb',
    950: '#000000',
  },
}
SCSS
$custom: #f787fb;
$custom-light: #fcadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f787fb",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 297.931,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78518,
    "c": 0.19524,
    "h": 326
  },
  "luminance": 0.44067
}

Semantic roles & 50–950 ramp

primary
#F787FB
secondary
#D6F6D5
accent
#E60008
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181017
muted
#867F85

Preview Lab

Preview with #F787FB

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

Preview Lab → · Contrast checker → · Palette generator →

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