#F786FC#F786FC
#F786FC is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.4% C 0.198 H 325.7°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F786FC |
|---|---|
| RGB | rgb(247, 134, 252) |
| HSL | hsl(297, 95%, 76%) |
| HSV | hsv(297, 47%, 99%) |
| CMYK | cmyk(2%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(72.13, 59.40, -40.59) |
| CIE-LCH | lch(72.13, 71.94, 325.65°) |
| OKLab | oklab(78.43% 0.1633 -0.1115) |
| OKLCH | oklch(78.43% 0.198 325.7) |
| XYZ | xyz(64.4521, 43.8558, 97.1467) |
| Luminance | 0.4385 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.27
Purply Pink
#F075E6
ΔE00 4.37
Candy Pink
#FF63E9
ΔE00 6.23
Lavender Pink
#DD85D7
ΔE00 6.27
Violet Pink
#FB5FFC
ΔE00 6.32
Light Magenta
#FA5FF7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F786FC #8BFC86
analogous
#BC86FC #F786FC #FC86C6
triadic
#F786FC #FCF786 #86FCF7
tetradic
#F786FC #FCBC86 #8BFC86 #86C6FC
square
#F786FC #FCBC86 #8BFC86 #86C6FC
split-complementary
#F786FC #C6FC86 #86FCBC
monochromatic
#EF0FF9 #F34AFB #F786FC #FBC2FD #FDE1FE
Accessibility & contrast
On white
2.15
#F786FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#F786FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F786FC
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F786FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F786FC | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA8FF
Deuteranopia (green-blind)
#9AB6F8
Tritanopia (blue-blind)
#FC93B6
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #f786fc; /* rgb */ color: rgb(247, 134, 252); /* oklch */ color: oklch(78.4% 0.198 325.7);
Tailwind
colors: {
custom: {
50: '#fcadfd',
500: '#f786fc',
950: '#000000',
},
}SCSS
$custom: #f786fc; $custom-light: #fcadfd; $custom-dark: #000000;
JSON
{
"hex": "#f786fc",
"rgb": {
"r": 247,
"g": 134,
"b": 252
},
"hsl": {
"h": 297.458,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.78425,
"c": 0.19773,
"h": 325.7
},
"luminance": 0.43853
}Semantic roles & 50–950 ramp
primary
#F786FC
secondary
#D6F6D5
accent
#E6000A
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181018
muted
#867F86