#F787FC#F787FC

#F787FC is a light, vivid purple. Relative luminance 0.441; OKLCH L 78.6% C 0.196 H 325.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#F787FC
RGBrgb(247, 135, 252)
HSLhsl(297, 95%, 76%)
HSVhsv(297, 46%, 99%)
CMYKcmyk(2%, 46.4%, 0%, 1.2%)
CIE-LABlab(72.32, 58.91, -40.30)
CIE-LCHlch(72.32, 71.37, 325.63°)
OKLaboklab(78.56% 0.162 -0.1106)
OKLCHoklch(78.56% 0.196 325.7)
XYZxyz(64.5910, 44.1336, 97.1930)
Luminance0.4413 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787FC #8CFC87
analogous
#BC87FC #F787FC #FC87C6
triadic
#F787FC #FCF787 #87FCF7
tetradic
#F787FC #FCBC87 #8CFC87 #87C6FC
square
#F787FC #FCBC87 #8CFC87 #87C6FC
split-complementary
#F787FC #C6FC87 #87FCBC
monochromatic
#EF10F9 #F34BFB #F787FC #FBC3FD #FDE1FE

Accessibility & contrast

On white

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

On black

9.83
#F787FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787FC
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787FC#FFFFFF#000000##000000
##F787FC1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f787fc;
/* rgb */ color: rgb(247, 135, 252);
/* oklch */ color: oklch(78.6% 0.196 325.7);
Tailwind
colors: {
  custom: {
    50: '#fcadfd',
    500: '#f787fc',
    950: '#000000',
  },
}
SCSS
$custom: #f787fc;
$custom-light: #fcadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f787fc",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 297.436,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.78563,
    "c": 0.19615,
    "h": 325.7
  },
  "luminance": 0.4413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F787FC

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

Preview Lab → · Contrast checker → · Palette generator →

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