#F786FA#F786FA
#F786FA is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.3% C 0.196 H 326.3°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #F786FA |
|---|---|
| RGB | rgb(247, 134, 250) |
| HSL | hsl(298, 92%, 75%) |
| HSV | hsv(298, 46%, 98%) |
| CMYK | cmyk(1.2%, 46.4%, 0%, 2%) |
| CIE-LAB | lab(72.05, 59.04, -39.63) |
| CIE-LCH | lch(72.05, 71.11, 326.13°) |
| OKLab | oklab(78.33% 0.163 -0.1087) |
| OKLCH | oklch(78.33% 0.196 326.3) |
| XYZ | xyz(64.1369, 43.7297, 95.4863) |
| Luminance | 0.4373 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.06
Purply Pink
#F075E6
ΔE00 4.18
Lavender Pink
#DD85D7
ΔE00 6.03
Candy Pink
#FF63E9
ΔE00 6.11
Violet Pink
#FB5FFC
ΔE00 6.38
Light Magenta
#FA5FF7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F786FA #89FA86
analogous
#BD86FA #F786FA #FA86C3
triadic
#F786FA #FAF786 #86FAF7
tetradic
#F786FA #FABD86 #89FA86 #86C3FA
square
#F786FA #FABD86 #89FA86 #86C3FA
split-complementary
#F786FA #C3FA86 #86FABD
monochromatic
#EF10F5 #F34BF8 #F786FA #FBC1FC #FDE2FE
Accessibility & contrast
On white
2.15
#F786FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#F786FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F786FA
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F786FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F786FA | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA7FE
Deuteranopia (green-blind)
#9BB6F6
Tritanopia (blue-blind)
#FD93B5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #f786fa; /* rgb */ color: rgb(247, 134, 250); /* oklch */ color: oklch(78.3% 0.196 326.3);
Tailwind
colors: {
custom: {
50: '#fcadfc',
500: '#f786fa',
950: '#000000',
},
}SCSS
$custom: #f786fa; $custom-light: #fcadfc; $custom-dark: #000000;
JSON
{
"hex": "#f786fa",
"rgb": {
"r": 247,
"g": 134,
"b": 250
},
"hsl": {
"h": 298.448,
"s": 92.063,
"l": 75.294
},
"oklch": {
"l": 0.78335,
"c": 0.19593,
"h": 326.3
},
"luminance": 0.43726
}Semantic roles & 50–950 ramp
primary
#F786FA
secondary
#D6F6D5
accent
#E60006
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181017
muted
#867F85