#F786F2#F786F2

#F786F2 is a light, vivid purple. Relative luminance 0.432; OKLCH L 78.0% C 0.189 H 328.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#F786F2
RGBrgb(247, 134, 242)
HSLhsl(303, 88%, 75%)
HSVhsv(303, 46%, 97%)
CMYKcmyk(0%, 45.7%, 2%, 3.1%)
CIE-LABlab(71.72, 57.65, -35.78)
CIE-LCHlch(71.72, 67.85, 328.18°)
OKLaboklab(77.98% 0.1616 -0.0977)
OKLCHoklch(77.98% 0.189 328.8)
XYZxyz(62.9090, 43.2386, 89.0195)
Luminance0.4324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F786F2 #86F78B
analogous
#C486F7 #F786F2 #F786BA
triadic
#F786F2 #F2F786 #86F2F7
tetradic
#F786F2 #F7C486 #86F78B #86BAF7
square
#F786F2 #F7C486 #86F78B #86BAF7
split-complementary
#F786F2 #BAF786 #86F7C4
monochromatic
#EF13E6 #F34DEC #F786F2 #FBBFF8 #FDE2FC

Accessibility & contrast

On white

2.18
#F786F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#F786F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F786F2
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F786F2#FFFFFF#000000##000000
##F786F21.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#9FB5EF
Tritanopia (blue-blind)
#FE90B1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #f786f2;
/* rgb */ color: rgb(247, 134, 242);
/* oklch */ color: oklch(78.0% 0.189 328.8);
Tailwind
colors: {
  custom: {
    50: '#fcacf6',
    500: '#f786f2',
    950: '#000000',
  },
}
SCSS
$custom: #f786f2;
$custom-light: #fcacf6;
$custom-dark: #000000;
JSON
{
  "hex": "#f786f2",
  "rgb": {
    "r": 247,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 302.655,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7798,
    "c": 0.18884,
    "h": 328.8
  },
  "luminance": 0.43235
}

Semantic roles & 50–950 ramp

primary
#F786F2
secondary
#D6F5D7
accent
#E40B01
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F786F2

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

Preview Lab → · Contrast checker → · Palette generator →

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