#F787FF#F787FF

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

Color values

HEX#F787FF
RGBrgb(247, 135, 255)
HSLhsl(296, 100%, 76%)
HSVhsv(296, 47%, 100%)
CMYKcmyk(3.1%, 47.1%, 0%, 0%)
CIE-LABlab(72.45, 59.44, -41.73)
CIE-LCHlch(72.45, 72.63, 324.93°)
OKLaboklab(78.7% 0.1624 -0.1147)
OKLCHoklch(78.7% 0.199 324.8)
XYZxyz(65.0702, 44.3252, 99.7165)
Luminance0.4432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787FF #8FFF87
analogous
#BB87FF #F787FF #FF87CB
triadic
#F787FF #FFF787 #87FFF7
tetradic
#F787FF #FFBB87 #8FFF87 #87CBFF
square
#F787FF #FFBB87 #8FFF87 #87CBFF
split-complementary
#F787FF #CBFF87 #87FFBB
monochromatic
#EF0DFF #F34AFF #F787FF #FBC4FF #FDE0FF

Accessibility & contrast

On white

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

On black

9.86
#F787FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787FF
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787FF#FFFFFF#000000##000000
##F787FF1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A9FF
Deuteranopia (green-blind)
#9AB7FB
Tritanopia (blue-blind)
#FC95B7
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #f787ff;
/* rgb */ color: rgb(247, 135, 255);
/* oklch */ color: oklch(78.7% 0.199 324.8);
Tailwind
colors: {
  custom: {
    50: '#fcadff',
    500: '#f787ff',
    950: '#000000',
  },
}
SCSS
$custom: #f787ff;
$custom-light: #fcadff;
$custom-dark: #000000;
JSON
{
  "hex": "#f787ff",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 296,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78699,
    "c": 0.19887,
    "h": 324.8
  },
  "luminance": 0.44322
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F787FF

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

Preview Lab → · Contrast checker → · Palette generator →

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