#F786FB#F786FB
#F786FB is a light, vivid purple. Relative luminance 0.438; OKLCH L 78.4% C 0.197 H 326.0°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #F786FB |
|---|---|
| RGB | rgb(247, 134, 251) |
| HSL | hsl(298, 94%, 75%) |
| HSV | hsv(298, 47%, 98%) |
| CMYK | cmyk(1.6%, 46.6%, 0%, 1.6%) |
| CIE-LAB | lab(72.09, 59.22, -40.11) |
| CIE-LCH | lch(72.09, 71.52, 325.89°) |
| OKLab | oklab(78.38% 0.1632 -0.1101) |
| OKLCH | oklch(78.38% 0.197 326) |
| XYZ | xyz(64.2941, 43.7926, 96.3143) |
| Luminance | 0.4379 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.17
Purply Pink
#F075E6
ΔE00 4.27
Lavender Pink
#DD85D7
ΔE00 6.15
Candy Pink
#FF63E9
ΔE00 6.17
Violet Pink
#FB5FFC
ΔE00 6.35
Light Magenta
#FA5FF7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F786FB #8AFB86
analogous
#BD86FB #F786FB #FB86C4
triadic
#F786FB #FBF786 #86FBF7
tetradic
#F786FB #FBBD86 #8AFB86 #86C4FB
square
#F786FB #FBBD86 #8AFB86 #86C4FB
split-complementary
#F786FB #C4FB86 #86FBBD
monochromatic
#EF10F7 #F34BF9 #F786FB #FBC1FD #FDE1FE
Accessibility & contrast
On white
2.15
#F786FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#F786FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F786FB
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F786FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F786FB | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#FC93B5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #f786fb; /* rgb */ color: rgb(247, 134, 251); /* oklch */ color: oklch(78.4% 0.197 326.0);
Tailwind
colors: {
custom: {
50: '#fcadfd',
500: '#f786fb',
950: '#000000',
},
}SCSS
$custom: #f786fb; $custom-light: #fcadfd; $custom-dark: #000000;
JSON
{
"hex": "#f786fb",
"rgb": {
"r": 247,
"g": 134,
"b": 251
},
"hsl": {
"h": 297.949,
"s": 93.6,
"l": 75.49
},
"oklch": {
"l": 0.7838,
"c": 0.19682,
"h": 326
},
"luminance": 0.43789
}Semantic roles & 50–950 ramp
primary
#F786FB
secondary
#D6F6D5
accent
#E60008
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181017
muted
#867F85