#F787FA#F787FA

#F787FA is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.5% C 0.194 H 326.3°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#F787FA
RGBrgb(247, 135, 250)
HSLhsl(298, 92%, 75%)
HSVhsv(298, 46%, 98%)
CMYKcmyk(1.2%, 46%, 0%, 2%)
CIE-LABlab(72.23, 58.56, -39.34)
CIE-LCHlch(72.23, 70.54, 326.11°)
OKLaboklab(78.47% 0.1616 -0.1079)
OKLCHoklch(78.47% 0.194 326.3)
XYZxyz(64.2758, 44.0075, 95.5326)
Luminance0.4400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787FA #8AFA87
analogous
#BD87FA #F787FA #FA87C3
triadic
#F787FA #FAF787 #87FAF7
tetradic
#F787FA #FABD87 #8AFA87 #87C3FA
square
#F787FA #FABD87 #8AFA87 #87C3FA
split-complementary
#F787FA #C3FA87 #87FABD
monochromatic
#EF11F5 #F34CF8 #F787FA #FBC2FC #FDE2FE

Accessibility & contrast

On white

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

On black

9.80
#F787FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787FA
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787FA#FFFFFF#000000##000000
##F787FA1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA8FE
Deuteranopia (green-blind)
#9CB6F6
Tritanopia (blue-blind)
#FD93B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #f787fa;
/* rgb */ color: rgb(247, 135, 250);
/* oklch */ color: oklch(78.5% 0.194 326.3);
Tailwind
colors: {
  custom: {
    50: '#fcadfc',
    500: '#f787fa',
    950: '#000000',
  },
}
SCSS
$custom: #f787fa;
$custom-light: #fcadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#f787fa",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 298.435,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78473,
    "c": 0.19434,
    "h": 326.3
  },
  "luminance": 0.44004
}

Semantic roles & 50–950 ramp

primary
#F787FA
secondary
#D6F6D5
accent
#E60006
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181017
muted
#867F85

Preview Lab

Preview with #F787FA

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

Preview Lab → · Contrast checker → · Palette generator →

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