#F787F2#F787F2

#F787F2 is a light, vivid purple. Relative luminance 0.435; OKLCH L 78.1% C 0.187 H 328.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#F787F2
RGBrgb(247, 135, 242)
HSLhsl(303, 88%, 75%)
HSVhsv(303, 45%, 97%)
CMYKcmyk(0%, 45.3%, 2%, 3.1%)
CIE-LABlab(71.90, 57.16, -35.49)
CIE-LCHlch(71.90, 67.28, 328.17°)
OKLaboklab(78.12% 0.1602 -0.0969)
OKLCHoklch(78.12% 0.187 328.8)
XYZxyz(63.0479, 43.5163, 89.0658)
Luminance0.4351 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F787F2 #87F78C
analogous
#C487F7 #F787F2 #F787BA
triadic
#F787F2 #F2F787 #87F2F7
tetradic
#F787F2 #F7C487 #87F78C #87BAF7
square
#F787F2 #F7C487 #87F78C #87BAF7
split-complementary
#F787F2 #BAF787 #87F7C4
monochromatic
#EF14E6 #F34EEC #F787F2 #FBC0F8 #FDE2FC

Accessibility & contrast

On white

2.16
#F787F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#F787F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F787F2
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F787F2#FFFFFF#000000##000000
##F787F21.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#FE91B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f787f2;
/* rgb */ color: rgb(247, 135, 242);
/* oklch */ color: oklch(78.1% 0.187 328.8);
Tailwind
colors: {
  custom: {
    50: '#fcadf6',
    500: '#f787f2',
    950: '#000000',
  },
}
SCSS
$custom: #f787f2;
$custom-light: #fcadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#f787f2",
  "rgb": {
    "r": 247,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 302.679,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7812,
    "c": 0.18723,
    "h": 328.8
  },
  "luminance": 0.43513
}

Semantic roles & 50–950 ramp

primary
#F787F2
secondary
#D6F5D7
accent
#E40C01
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181017
muted
#867F85

Preview Lab

Preview with #F787F2

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

Preview Lab → · Contrast checker → · Palette generator →

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