#F786FC#F786FC

#F786FC is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.4% C 0.198 H 325.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#F786FC
RGBrgb(247, 134, 252)
HSLhsl(297, 95%, 76%)
HSVhsv(297, 47%, 99%)
CMYKcmyk(2%, 46.8%, 0%, 1.2%)
CIE-LABlab(72.13, 59.40, -40.59)
CIE-LCHlch(72.13, 71.94, 325.65°)
OKLaboklab(78.43% 0.1633 -0.1115)
OKLCHoklch(78.43% 0.198 325.7)
XYZxyz(64.4521, 43.8558, 97.1467)
Luminance0.4385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786FC #8BFC86
analogous
#BC86FC #F786FC #FC86C6
triadic
#F786FC #FCF786 #86FCF7
tetradic
#F786FC #FCBC86 #8BFC86 #86C6FC
square
#F786FC #FCBC86 #8BFC86 #86C6FC
split-complementary
#F786FC #C6FC86 #86FCBC
monochromatic
#EF0FF9 #F34AFB #F786FC #FBC2FD #FDE1FE

Accessibility & contrast

On white

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

On black

9.77
#F786FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786FC
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786FC#FFFFFF#000000##000000
##F786FC1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f786fc;
/* rgb */ color: rgb(247, 134, 252);
/* oklch */ color: oklch(78.4% 0.198 325.7);
Tailwind
colors: {
  custom: {
    50: '#fcadfd',
    500: '#f786fc',
    950: '#000000',
  },
}
SCSS
$custom: #f786fc;
$custom-light: #fcadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f786fc",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 297.458,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.78425,
    "c": 0.19773,
    "h": 325.7
  },
  "luminance": 0.43853
}

Semantic roles & 50–950 ramp

primary
#F786FC
secondary
#D6F6D5
accent
#E6000A
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181018
muted
#867F86

Preview Lab

Preview with #F786FC

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

Preview Lab → · Contrast checker → · Palette generator →

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