#F787FE#F787FE

#F787FE is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.7% C 0.198 H 325.1°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#F787FE
RGBrgb(247, 135, 254)
HSLhsl(296, 98%, 76%)
HSVhsv(296, 47%, 100%)
CMYKcmyk(2.8%, 46.9%, 0%, 0.4%)
CIE-LABlab(72.40, 59.27, -41.25)
CIE-LCHlch(72.40, 72.21, 325.16°)
OKLaboklab(78.65% 0.1623 -0.1134)
OKLCHoklch(78.65% 0.198 325.1)
XYZxyz(64.9096, 44.2610, 98.8709)
Luminance0.4426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787FE #8EFE87
analogous
#BC87FE #F787FE #FE87CA
triadic
#F787FE #FEF787 #87FEF7
tetradic
#F787FE #FEBC87 #8EFE87 #87CAFE
square
#F787FE #FEBC87 #8EFE87 #87CAFE
split-complementary
#F787FE #CAFE87 #87FEBC
monochromatic
#EF0EFD #F34AFD #F787FE #FBC4FF #FDE1FF

Accessibility & contrast

On white

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

On black

9.85
#F787FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787FE
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787FE#FFFFFF#000000##000000
##F787FE1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#9AB6FA
Tritanopia (blue-blind)
#FC95B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f787fe;
/* rgb */ color: rgb(247, 135, 254);
/* oklch */ color: oklch(78.7% 0.198 325.1);
Tailwind
colors: {
  custom: {
    50: '#fcadff',
    500: '#f787fe',
    950: '#000000',
  },
}
SCSS
$custom: #f787fe;
$custom-light: #fcadff;
$custom-dark: #000000;
JSON
{
  "hex": "#f787fe",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 296.471,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78654,
    "c": 0.19797,
    "h": 325.1
  },
  "luminance": 0.44258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F787FE

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

Preview Lab → · Contrast checker → · Palette generator →

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