#F787FD#F787FD

#F787FD is a light, vivid purple. Relative luminance 0.442; OKLCH L 78.6% C 0.197 H 325.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#F787FD
RGBrgb(247, 135, 253)
HSLhsl(297, 97%, 76%)
HSVhsv(297, 47%, 99%)
CMYKcmyk(2.4%, 46.6%, 0%, 0.8%)
CIE-LABlab(72.36, 59.09, -40.78)
CIE-LCHlch(72.36, 71.79, 325.39°)
OKLaboklab(78.61% 0.1621 -0.112)
OKLCHoklch(78.61% 0.197 325.4)
XYZxyz(64.7499, 44.1971, 98.0297)
Luminance0.4419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787FD #8DFD87
analogous
#BC87FD #F787FD #FD87C8
triadic
#F787FD #FDF787 #87FDF7
tetradic
#F787FD #FDBC87 #8DFD87 #87C8FD
square
#F787FD #FDBC87 #8DFD87 #87C8FD
split-complementary
#F787FD #C8FD87 #87FDBC
monochromatic
#EF0FFB #F34BFC #F787FD #FBC3FE #FDE1FE

Accessibility & contrast

On white

2.13
#F787FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#F787FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787FD
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787FD#FFFFFF#000000##000000
##F787FD1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f787fd;
/* rgb */ color: rgb(247, 135, 253);
/* oklch */ color: oklch(78.6% 0.197 325.4);
Tailwind
colors: {
  custom: {
    50: '#fcadfe',
    500: '#f787fd',
    950: '#000000',
  },
}
SCSS
$custom: #f787fd;
$custom-light: #fcadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f787fd",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 296.949,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.78608,
    "c": 0.19706,
    "h": 325.4
  },
  "luminance": 0.44194
}

Semantic roles & 50–950 ramp

primary
#F787FD
secondary
#D6F7D4
accent
#E6000C
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181018
muted
#867F86

Preview Lab

Preview with #F787FD

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

Preview Lab → · Contrast checker → · Palette generator →

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