#F786FB#F786FB

#F786FB is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.4% C 0.197 H 326.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#F786FB
RGBrgb(247, 134, 251)
HSLhsl(298, 94%, 75%)
HSVhsv(298, 47%, 98%)
CMYKcmyk(1.6%, 46.6%, 0%, 1.6%)
CIE-LABlab(72.09, 59.22, -40.11)
CIE-LCHlch(72.09, 71.52, 325.89°)
OKLaboklab(78.38% 0.1632 -0.1101)
OKLCHoklch(78.38% 0.197 326)
XYZxyz(64.2941, 43.7926, 96.3143)
Luminance0.4379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786FB #8AFB86
analogous
#BD86FB #F786FB #FB86C4
triadic
#F786FB #FBF786 #86FBF7
tetradic
#F786FB #FBBD86 #8AFB86 #86C4FB
square
#F786FB #FBBD86 #8AFB86 #86C4FB
split-complementary
#F786FB #C4FB86 #86FBBD
monochromatic
#EF10F7 #F34BF9 #F786FB #FBC1FD #FDE1FE

Accessibility & contrast

On white

2.15
#F786FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#F786FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786FB
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786FB#FFFFFF#000000##000000
##F786FB1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#FC93B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f786fb;
/* rgb */ color: rgb(247, 134, 251);
/* oklch */ color: oklch(78.4% 0.197 326.0);
Tailwind
colors: {
  custom: {
    50: '#fcadfd',
    500: '#f786fb',
    950: '#000000',
  },
}
SCSS
$custom: #f786fb;
$custom-light: #fcadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f786fb",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 297.949,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7838,
    "c": 0.19682,
    "h": 326
  },
  "luminance": 0.43789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F786FB

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

Preview Lab → · Contrast checker → · Palette generator →

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